Add message model
Some checks failed
CI / scan_ruby (push) Failing after 14s
CI / scan_js (push) Successful in 11s
CI / lint (push) Successful in 11s
CI / test (push) Successful in 27s

This commit is contained in:
sto
2025-05-11 19:40:30 +02:00
parent 378c3011ef
commit 2f23938e81
5 changed files with 96 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
class CreateMessages < ActiveRecord::Migration[8.0]
def change
create_table :messages do |t|
t.integer :time_seconds, null: false
t.belongs_to :contest, null: false, foreign_key: true
t.string :text, null: false
t.timestamps
end
end
end