Sha256: a953f5281f5ea8b9a934fee1d2db898f6c9d36220d087c374c8f7f3d00433a30

Contents?: true

Size: 204 Bytes

Versions: 15

Compression:

Stored size: 204 Bytes

Contents

class CreateStudents < ActiveRecord::Migration[5.2]
  def change
    create_table :students do |t|
      t.string :name
      t.belongs_to :school, foreign_key: true

      t.timestamps
    end
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
administrate-field-nested_has_many-2.1.0 spec/dummy/db/migrate/20180907104703_create_students.rb
administrate-field-nested_has_many-2.0.0 spec/dummy/db/migrate/20180907104703_create_students.rb
viniBaxter-spa-nested_has_many-300.0.6 spec/dummy/db/migrate/20180907104703_create_students.rb
viniBaxter-spa-nested_has_many-300.0.5 spec/dummy/db/migrate/20180907104703_create_students.rb
viniBaxter-spa-nested_has_many-300.0.4 spec/dummy/db/migrate/20180907104703_create_students.rb
viniBaxter-spa-nested_has_many-300.0.2 spec/dummy/db/migrate/20180907104703_create_students.rb
viniBaxter-spa-nested_has_many-300.0.1 spec/dummy/db/migrate/20180907104703_create_students.rb
viniBaxter-spa-nested_has_many-5.4.0 spec/dummy/db/migrate/20180907104703_create_students.rb
viniBaxter-spa-nested_has_many-5.0.1 spec/dummy/db/migrate/20180907104703_create_students.rb
viniBaxter-spa-nested_has_many-5.0.0 spec/dummy/db/migrate/20180907104703_create_students.rb
administrate-field-nested_has_many-1.3.0 spec/dummy/db/migrate/20180907104703_create_students.rb
viniBaxter-spa-nested_has_many-4.0.0 spec/dummy/db/migrate/20180907104703_create_students.rb
viniBaxter-spa-nested_has_many-3.0.0 spec/dummy/db/migrate/20180907104703_create_students.rb
viniBaxter-spa-nested_has_many-2.0.0 spec/dummy/db/migrate/20180907104703_create_students.rb
administrate-field-nested_has_many-1.2.0 spec/dummy/db/migrate/20180907104703_create_students.rb