Add contestants
Some checks are pending
CI / scan_ruby (push) Waiting to run
CI / scan_js (push) Waiting to run
CI / lint (push) Waiting to run
CI / test (push) Waiting to run

This commit is contained in:
sto
2025-03-20 09:19:39 +01:00
parent 658c50fd04
commit 44507bb85c
18 changed files with 145 additions and 25 deletions

View File

@@ -0,0 +1,11 @@
class CreateContestants < ActiveRecord::Migration[8.0]
def change
create_table :contestants do |t|
t.string :name
t.string :email
t.belongs_to :contest, null: false, foreign_key: true
t.timestamps
end
end
end