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 ==========