parent
797fdb5f3c
commit
9a02763c83
@ -0,0 +1,11 @@
|
||||
class CreateCompetitionSchools < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
create_table :competition_schools do |t|
|
||||
t.references :competition, index: true
|
||||
t.references :school, index: true
|
||||
t.string :source
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
@ -0,0 +1,5 @@
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe CompetitionSchool, type: :model do
|
||||
pending "add some examples to (or delete) #{__FILE__}"
|
||||
end
|
Loading…
Reference in new issue