more schema changes

This commit is contained in:
Brandon Thomas committed 2021-06-10 04:03:49 -04:00
1 parent 2c6172eb88
commit 8eebffd7fe
3 files changed
+16 -14

No files matched your search

@@ -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 ==========
+4 -2
View File
@@ -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,
+4 -4
View File
@@ -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