Add Recording model

This commit is contained in:
2023-10-01 17:16:08 +01:00
parent 3300017d98
commit 69a97a3fa9
5 changed files with 47 additions and 1 deletions
@@ -0,0 +1,12 @@
class CreateRecordings < ActiveRecord::Migration[7.0]
def change
create_table :recordings do |t|
t.string :title, null: false
t.string :start_time, null: false
t.string :recording_uuid, null: false
t.references :course, null: false, foreign_key: true
t.timestamps
end
end
end