From 74388b474c87b09b2b5c3ca0c08c712ccaa98759 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Fri, 19 Jun 2026 15:36:29 -0400 Subject: [PATCH] updates --- .../up.sql | 17 ++++++++++------- .../uploaded_video_notes.sql | 17 ++++++++++------- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/_database/sql/migrations/2026-06-19-181008-0000_uploaded_video_notes/up.sql b/_database/sql/migrations/2026-06-19-181008-0000_uploaded_video_notes/up.sql index 3d5dfa8a13..ceadfff9cb 100644 --- a/_database/sql/migrations/2026-06-19-181008-0000_uploaded_video_notes/up.sql +++ b/_database/sql/migrations/2026-06-19-181008-0000_uploaded_video_notes/up.sql @@ -14,27 +14,30 @@ CREATE TABLE uploaded_video_notes ( -- ========== SUBMISSION ========== -- Original filename of the submitted clip, as provided by the user. - filename VARCHAR(512) DEFAULT NULL, + maybe_filename VARCHAR(512) DEFAULT NULL, -- The model type the submitter claims this video is. - reported_model_type VARCHAR(32) DEFAULT NULL, + maybe_reported_model_type VARCHAR(32) DEFAULT NULL, -- Free-form custom model name when the submitter's model isn't a known type. maybe_reported_model_name VARCHAR(64) DEFAULT NULL, -- The website / platform the video was obtained from. - website VARCHAR(32) DEFAULT NULL, + maybe_website VARCHAR(32) DEFAULT NULL, -- Free-form website when it isn't a known option. - other_website VARCHAR(128) DEFAULT NULL, + maybe_other_website VARCHAR(128) DEFAULT NULL, -- Free-form comments from the submitter. - comments VARCHAR(1024) DEFAULT NULL, + maybe_comments VARCHAR(1024) DEFAULT NULL, - -- ========== IP ADDRESS ========== + -- ========== IP ADDRESSES ========== -- IP address that submitted the note. Wide enough for IPv4/IPv6. - comment_ip_address VARCHAR(40) NOT NULL, + comment_create_ip_address VARCHAR(40) NOT NULL, + + -- IP address that last updated the note. Wide enough for IPv4/IPv6. + comment_update_ip_address VARCHAR(40) DEFAULT NULL, -- ========== TIMESTAMPS ========== diff --git a/_database/sql/migrations_squashed/uploaded_video_notes.sql b/_database/sql/migrations_squashed/uploaded_video_notes.sql index 3d5dfa8a13..ceadfff9cb 100644 --- a/_database/sql/migrations_squashed/uploaded_video_notes.sql +++ b/_database/sql/migrations_squashed/uploaded_video_notes.sql @@ -14,27 +14,30 @@ CREATE TABLE uploaded_video_notes ( -- ========== SUBMISSION ========== -- Original filename of the submitted clip, as provided by the user. - filename VARCHAR(512) DEFAULT NULL, + maybe_filename VARCHAR(512) DEFAULT NULL, -- The model type the submitter claims this video is. - reported_model_type VARCHAR(32) DEFAULT NULL, + maybe_reported_model_type VARCHAR(32) DEFAULT NULL, -- Free-form custom model name when the submitter's model isn't a known type. maybe_reported_model_name VARCHAR(64) DEFAULT NULL, -- The website / platform the video was obtained from. - website VARCHAR(32) DEFAULT NULL, + maybe_website VARCHAR(32) DEFAULT NULL, -- Free-form website when it isn't a known option. - other_website VARCHAR(128) DEFAULT NULL, + maybe_other_website VARCHAR(128) DEFAULT NULL, -- Free-form comments from the submitter. - comments VARCHAR(1024) DEFAULT NULL, + maybe_comments VARCHAR(1024) DEFAULT NULL, - -- ========== IP ADDRESS ========== + -- ========== IP ADDRESSES ========== -- IP address that submitted the note. Wide enough for IPv4/IPv6. - comment_ip_address VARCHAR(40) NOT NULL, + comment_create_ip_address VARCHAR(40) NOT NULL, + + -- IP address that last updated the note. Wide enough for IPv4/IPv6. + comment_update_ip_address VARCHAR(40) DEFAULT NULL, -- ========== TIMESTAMPS ==========