Sha256: f304ed3584de11485bd11c2c1f3a560d68da2978ab4969f2d23e8752544249df

Contents?: true

Size: 223 Bytes

Versions: 9

Compression:

Stored size: 223 Bytes

Contents

# typed: false
class AddSubjectsWizards < ActiveRecord::Migration[5.1]
  def change
    create_join_table :subjects, :wizards, column_options: { null: true } do |t|
      t.index [:subject_id, :wizard_id]
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
sorbet-rails-0.7.4 spec/support/v5.1/db/migrate/20190620000011_add_subjects_wizards.rb
sorbet-rails-0.7.3 spec/support/v5.1/db/migrate/20190620000011_add_subjects_wizards.rb
sorbet-rails-0.7.2 spec/support/v5.1/db/migrate/20190620000011_add_subjects_wizards.rb
sorbet-rails-0.7.1 spec/support/v5.1/db/migrate/20190620000011_add_subjects_wizards.rb
sorbet-rails-0.7.0 spec/support/v5.1/db/migrate/20190620000011_add_subjects_wizards.rb
sorbet-rails-0.6.5.1 spec/support/v5.1/db/migrate/20190620000011_add_subjects_wizards.rb
sorbet-rails-0.6.5 spec/support/v5.1/db/migrate/20190620000011_add_subjects_wizards.rb
sorbet-rails-0.6.4 spec/support/v5.1/db/migrate/20190620000011_add_subjects_wizards.rb
sorbet-rails-0.6.3 spec/support/v5.1/db/migrate/20190620000011_add_subjects_wizards.rb