From ed5f201c51effa237468d1f6506d53b6e28aba7d Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Sat, 2 Sep 2023 15:28:19 -0700 Subject: [PATCH] Update Deploying Silvanus Yourself --- Deploying-Silvanus-Yourself.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Deploying-Silvanus-Yourself.md b/Deploying-Silvanus-Yourself.md index 304ba03..2cec2d8 100644 --- a/Deploying-Silvanus-Yourself.md +++ b/Deploying-Silvanus-Yourself.md @@ -13,22 +13,22 @@ Here is the `CREATE TABLE` structure for the two tables required by Silvanus ```plaintext CREATE TABLE `guild_info` ( `guild_id` varchar(50) NOT NULL, - `owner_id` varchar(50) NOT NULL, + `owner_id` varchar(50) NOT NULL DEFAULT 'Unknown', `tree_name` varchar(100) NOT NULL DEFAULT 'Unknown', `tree_height` float NOT NULL DEFAULT 0, `tree_message_id` varchar(50) NOT NULL DEFAULT 'Unknown', `tree_channel_id` varchar(50) NOT NULL DEFAULT 'Unknown', `leaderboard_message_id` varchar(50) NOT NULL DEFAULT 'Unknown', `leaderboard_channel_id` varchar(50) NOT NULL DEFAULT 'Unknown', - `water_message` varchar(1500) DEFAULT '', - `water_role_id` varchar(50) DEFAULT NULL, - `fruit_message` varchar(1500) DEFAULT NULL, - `fruit_role_id` varchar(50) DEFAULT NULL, - `reminder_channel_id` varchar(50) DEFAULT '', - `watch_channel_id` varchar(50) DEFAULT '', + `water_message` varchar(1500) DEFAULT 'Not Set', + `water_role_id` varchar(50) DEFAULT 'Not Set', + `fruit_message` varchar(1500) DEFAULT 'Not Set', + `fruit_role_id` varchar(50) DEFAULT 'Not Set', + `reminder_channel_id` varchar(50) DEFAULT 'Not Set', + `watch_channel_id` varchar(50) DEFAULT 'Not Set', `notifications_enabled` varchar(5) DEFAULT 'false', - `compare_channel_id` varchar(50) DEFAULT '', - `compare_message_id` varchar(50) DEFAULT '', + `compare_channel_id` varchar(50) DEFAULT 'Unknown', + `compare_message_id` varchar(50) DEFAULT 'Unknown', PRIMARY KEY (`guild_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; ``` @@ -45,7 +45,7 @@ CREATE TABLE `leaderboard` ( `has_pin` tinyint(1) NOT NULL DEFAULT 0, `timestamp` datetime DEFAULT current_timestamp(), PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; +) ENGINE=InnoDB AUTO_INCREMENT=641074 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; ``` ## Baremetal