we4tech/flexi-model

View on GitHub
lib/generators/flexi_model/install/templates/create_flexi_model_records.rb

Summary

Maintainability
A
0 mins
Test Coverage
class CreateFlexiModelRecords < ActiveRecord::Migration
  def change
    create_table 'flexi_model_records', :force => true do |t|
      t.integer 'collection_id'
      t.string 'namespace'
      t.datetime "created_at"
      t.datetime "updated_at"
    end

    add_index 'flexi_model_records', [:namespace, :collection_id]
  end
end