Sha256: a971bd3cfe7598efc709504d8427a3a31e6112e52448be42d0e716a8debcb535
Contents?: true
Size: 369 Bytes
Versions: 2
Compression:
Stored size: 369 Bytes
Contents
class CreateChildModels < ActiveRecord::Migration def self.up create_table :child_models do |t| t.string :first_name t.string :last_name t.string :address t.boolean :some_flag t.integer :parent_model_id t.integer :second_parent_model_id t.timestamps end end def self.down drop_table :child_models end end
Version data entries
2 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
view_mapper-0.3.4 | test/views/belongs_to/expected_templates/create_child_models.rb |
view_mapper-0.3.4 | test/views/belongs_to_auto_complete/expected_templates/create_child_models.rb |