Much base work started
This commit is contained in:
11
db/migrate/20251029113919_create_video_assets.rb
Normal file
11
db/migrate/20251029113919_create_video_assets.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
class CreateVideoAssets < ActiveRecord::Migration[8.1]
|
||||
def change
|
||||
create_table :video_assets do |t|
|
||||
t.references :video, null: false, foreign_key: true
|
||||
t.integer :asset_type
|
||||
t.text :metadata
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user