Merged in feature/media-analytics-logging (pull request #2651)

Add API route for media analytics, and updates to database schema.
This commit is contained in:
Patrick Fic
2025-11-06 21:58:14 +00:00
13 changed files with 91 additions and 2 deletions

View File

@@ -0,0 +1,4 @@
-- Could not auto-generate a down migration.
-- Please write an appropriate down migration for the SQL below:
-- alter table "public"."media_analytics" add column "total_size_bytes" integer
-- null;

View File

@@ -0,0 +1,2 @@
alter table "public"."media_analytics" add column "total_size_bytes" integer
null;

View File

@@ -0,0 +1,4 @@
-- Could not auto-generate a down migration.
-- Please write an appropriate down migration for the SQL below:
-- alter table "public"."media_analytics" add column "total_size_mb" numeric
-- null;

View File

@@ -0,0 +1,2 @@
alter table "public"."media_analytics" add column "total_size_mb" numeric
null;

View File

@@ -0,0 +1,4 @@
-- Could not auto-generate a down migration.
-- Please write an appropriate down migration for the SQL below:
-- alter table "public"."media_analytics_detail" add column "total_size_mb" numeric
-- null;

View File

@@ -0,0 +1,2 @@
alter table "public"."media_analytics_detail" add column "total_size_mb" numeric
null;

View File

@@ -0,0 +1 @@
alter table "public"."media_analytics_detail" alter column "jobid" set not null;

View File

@@ -0,0 +1 @@
alter table "public"."media_analytics_detail" alter column "jobid" drop not null;