Add offline model and "new" form/controller
Some checks failed
CI / scan_ruby (push) Successful in 18s
CI / scan_js (push) Successful in 15s
CI / lint (push) Failing after 14s
CI / test (push) Failing after 15m10s

This commit is contained in:
sto
2025-10-29 17:20:38 +01:00
parent a8f1ffd920
commit 35ad7da355
10 changed files with 158 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
class CreateOfflines < ActiveRecord::Migration[8.0]
def change
create_table :offlines do |t|
t.timestamps
t.belongs_to :contest, null: false, foreign_key: true
t.datetime :start_time, null: false
t.datetime :end_time
end
end
end