Sha256: 50a54470f63ca16d525a703067b75c815a053448c99fe06d8481f11dc15d706e

Contents?: true

Size: 179 Bytes

Versions: 12

Compression:

Stored size: 179 Bytes

Contents

class CreateAddresses < ActiveRecord::Migration
  def up
    create_table :addresses do |t|
      t.references :user
    end
  end

  def down
    drop_table :addresses
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
merit-2.4.0 test/dummy/db/migrate/20140211144001_create_addresses.rb
merit-2.3.4 test/dummy/db/migrate/20140211144001_create_addresses.rb
merit-2.3.3 test/dummy/db/migrate/20140211144001_create_addresses.rb
merit-2.3.2 test/dummy/db/migrate/20140211144001_create_addresses.rb
merit-2.3.1 test/dummy/db/migrate/20140211144001_create_addresses.rb
merit-2.3.0 test/dummy/db/migrate/20140211144001_create_addresses.rb
merit-2.2.0 test/dummy/db/migrate/20140211144001_create_addresses.rb
merit-2.1.2 test/dummy/db/migrate/20140211144001_create_addresses.rb
merit-2.1.1 test/dummy/db/migrate/20140211144001_create_addresses.rb
merit-2.1.0 test/dummy/db/migrate/20140211144001_create_addresses.rb
merit-2.0.0 test/dummy/db/migrate/20140211144001_create_addresses.rb
merit-1.9.0 test/dummy/db/migrate/20140211144001_create_addresses.rb