13 lines
319 B
Ruby
13 lines
319 B
Ruby
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
|