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.5.9.1 | spec/support/v6.0/db/migrate/20190620000009_add_school.rb |
sorbet-rails-0.5.9 | spec/support/v6.0/db/migrate/20190620000009_add_school.rb |