Sha256: 875f72f06e8d014f40a9de960feebf1f86268555d6cc534032b21dd0f23a9bcb

Contents?: true

Size: 282 Bytes

Versions: 7

Compression:

Stored size: 282 Bytes

Contents

class CreateParents < ActiveRecord::Migration
  def self.up
    create_table :parents do |t|
      t.string :first_name
      t.string :last_name
      t.string :address
      t.boolean :some_flag

      t.timestamps
    end
  end

  def self.down
    drop_table :parents
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
repeated_auto_complete-0.1.3 test/view_mapper/expected_templates/create_parents.rb
repeated_auto_complete-0.1.2 test/view_mapper/expected_templates/create_parents.rb
repeated_auto_complete-0.1.1 test/view_mapper/expected_templates/create_parents.rb
view_mapper-0.3.3 test/views/has_many/expected_templates/create_parents.rb
view_mapper-0.3.2 test/views/has_many/expected_templates/create_parents.rb
view_mapper-0.3.1 test/views/has_many/expected_templates/create_parents.rb
repeated_auto_complete-0.1.0 test/view_mapper/expected_templates/create_parents.rb