diff --git a/migrations/2021-05-15-071545_asset_upload_jobs/up.sql b/migrations/2021-05-15-071545_asset_upload_jobs/up.sql index 4cc20e26c0..c4f5d98bd7 100644 --- a/migrations/2021-05-15-071545_asset_upload_jobs/up.sql +++ b/migrations/2021-05-15-071545_asset_upload_jobs/up.sql @@ -44,10 +44,10 @@ CREATE TABLE tts_model_upload_jobs ( download_url VARCHAR(512) DEFAULT NULL, -- NB: DO NOT SORT! - download_url_type ENUM( - 'google-drive', - 'web' - ) NOT NULL DEFAULT 'web', + -- download_url_type ENUM( + -- 'google-drive', + -- 'web' + -- ) NOT NULL DEFAULT 'web', -- ========== CREATOR DETAILS AND PREFERENCES ========== @@ -156,10 +156,10 @@ CREATE TABLE w2l_template_upload_jobs ( download_url VARCHAR(512) DEFAULT NULL, -- NB: DO NOT SORT! - download_url_type ENUM( - 'google-drive', - 'web' - ) NOT NULL DEFAULT 'web', + -- download_url_type ENUM( + -- 'google-drive', + -- 'web' + -- ) NOT NULL DEFAULT 'web', -- ========== CREATOR DETAILS AND PREFERENCES ========== diff --git a/migrations/2021-05-15-071601_assets/up.sql b/migrations/2021-05-15-071601_assets/up.sql index 7df9218e2b..c316a68662 100644 --- a/migrations/2021-05-15-071601_assets/up.sql +++ b/migrations/2021-05-15-071601_assets/up.sql @@ -121,7 +121,9 @@ CREATE TABLE tts_models ( -- and creator_set_visibility) is_mod_public_listing_approved BOOLEAN DEFAULT NULL, - -- In this case, a moderator disables it. + -- In this case, a moderator disables it from being used for inference. + -- This also disables it for the creator. + -- Unlike deletion, it remains "visible" to those that have access. is_mod_disabled BOOLEAN NOT NULL DEFAULT FALSE, -- Extremely popular models may be locked from deletion or modification by users. @@ -275,7 +277,7 @@ CREATE TABLE w2l_templates ( -- and creator_set_visibility) is_mod_public_listing_approved BOOLEAN DEFAULT NULL, - -- In this case, a moderator disables it. + -- In this case, a moderator disables it from being used for inference. -- This also disables it for the creator. -- Unlike deletion, it remains "visible" to those that have access. is_mod_disabled BOOLEAN NOT NULL DEFAULT FALSE, diff --git a/migrations/2021-06-09-010200_ip_bans/up.sql b/migrations/2021-06-09-010200_ip_bans/up.sql index 8b285e9914..ae200476df 100644 --- a/migrations/2021-06-09-010200_ip_bans/up.sql +++ b/migrations/2021-06-09-010200_ip_bans/up.sql @@ -9,14 +9,14 @@ CREATE TABLE ip_address_bans ( -- The IP address to ban ip_address VARCHAR(40) DEFAULT NULL, - -- Mod who created or last edited the ban. - mod_user_token VARCHAR(32) NOT NULL, - -- Maybe the target user. maybe_target_user_token VARCHAR(32) DEFAULT NULL, + -- Mod who created or last edited the ban. + mod_user_token VARCHAR(32) NOT NULL, + -- Optional notes about the ban. - notes TEXT DEFAULT NULL, + mod_notes TEXT DEFAULT NULL, -- Moderator can set an expire time (optional). -- If not set, the ban is indefinite