Sha256: c34f14367f4a92020a11eea4e354682e3ba5efb7fb3d265e8be5d3ce1ec26005

Contents?: true

Size: 176 Bytes

Versions: 9

Compression:

Stored size: 176 Bytes

Contents

class CreatePhones < ActiveRecord::Migration
  def change
    create_table :phones do |t|
      t.string :number
      t.belongs_to :user

      t.timestamps
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
auto_build-0.5.0 test/dummy/db/migrate/20111211213814_create_phones.rb
auto_build-0.4.3 test/dummy/db/migrate/20111211213814_create_phones.rb
auto_build-0.4.2 test/dummy/db/migrate/20111211213814_create_phones.rb
auto_build-0.4.1 test/dummy/db/migrate/20111211213814_create_phones.rb
auto_build-0.4.0 test/dummy/db/migrate/20111211213814_create_phones.rb
auto_build-0.0.4 test/dummy/db/migrate/20111211213814_create_phones.rb
auto_build-0.0.3 test/dummy/db/migrate/20111211213814_create_phones.rb
auto_build-0.0.2 test/dummy/db/migrate/20111211213814_create_phones.rb
auto_build-0.0.1 test/dummy/db/migrate/20111211213814_create_phones.rb