Aggiunge modulo Replay, Garage dev e YouTube a livello società.
Pipeline registrazione/upload con storage S3, archivio web e app, proxy replay per il browser, OAuth YouTube sulla pagina club (Premium Full) e footer legale. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
16
backend/db/migrate/20260528140000_replay_enhancements.rb
Normal file
16
backend/db/migrate/20260528140000_replay_enhancements.rb
Normal file
@@ -0,0 +1,16 @@
|
||||
class ReplayEnhancements < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
change_table :recordings, bulk: true do |t|
|
||||
t.jsonb :metadata, null: false, default: {}
|
||||
t.string :thumbnail_storage_key
|
||||
t.integer :view_count, null: false, default: 0
|
||||
t.datetime :ready_notified_at
|
||||
t.datetime :expiry_warning_sent_at
|
||||
t.string :youtube_video_id
|
||||
t.datetime :youtube_published_at
|
||||
end
|
||||
|
||||
add_index :recordings, :view_count
|
||||
add_index :recordings, :youtube_video_id, where: "youtube_video_id IS NOT NULL"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user