Sha256: 388e02bfce74caf31c63417157905cec10b8921f5786a669cd4f3e5e3c1c3219

Contents?: true

Size: 231 Bytes

Versions: 42

Compression:

Stored size: 231 Bytes

Contents

# typed: true
class AddSchool < ActiveRecord::Migration[6.0]
  def change
    create_table :schools do |t|
      t.string :name
    end
    add_column :wizards, :school_id, :integer
    add_foreign_key :wizards, :schools
  end
end

Version data entries

42 entries across 28 versions & 1 rubygems

Version Path
sorbet-rails-0.7.20 spec/support/v6.1/db/migrate/20190620000009_add_school.rb
sorbet-rails-0.7.20 spec/support/v6.0/db/migrate/20190620000009_add_school.rb
sorbet-rails-0.7.19 spec/support/v6.1/db/migrate/20190620000009_add_school.rb
sorbet-rails-0.7.19 spec/support/v6.0/db/migrate/20190620000009_add_school.rb
sorbet-rails-0.7.18 spec/support/v6.1/db/migrate/20190620000009_add_school.rb
sorbet-rails-0.7.18 spec/support/v6.0/db/migrate/20190620000009_add_school.rb
sorbet-rails-0.7.5 spec/support/v6.1/db/migrate/20190620000009_add_school.rb
sorbet-rails-0.7.5 spec/support/v6.0/db/migrate/20190620000009_add_school.rb
sorbet-rails-0.7.4 spec/support/v6.0/db/migrate/20190620000009_add_school.rb
sorbet-rails-0.7.3 spec/support/v6.0/db/migrate/20190620000009_add_school.rb
sorbet-rails-0.7.2 spec/support/v6.0/db/migrate/20190620000009_add_school.rb
sorbet-rails-0.7.1 spec/support/v6.0/db/migrate/20190620000009_add_school.rb
sorbet-rails-0.7.0 spec/support/v6.0/db/migrate/20190620000009_add_school.rb
sorbet-rails-0.6.5.1 spec/support/v6.0/db/migrate/20190620000009_add_school.rb
sorbet-rails-0.6.5 spec/support/v6.0/db/migrate/20190620000009_add_school.rb
sorbet-rails-0.6.4 spec/support/v6.0/db/migrate/20190620000009_add_school.rb
sorbet-rails-0.6.3 spec/support/v6.0/db/migrate/20190620000009_add_school.rb
sorbet-rails-0.6.2 spec/support/v6.0/db/migrate/20190620000009_add_school.rb
sorbet-rails-0.6.1 spec/support/v6.0/db/migrate/20190620000009_add_school.rb
sorbet-rails-0.6.0 spec/support/v6.0/db/migrate/20190620000009_add_school.rb