Update Deploying Silvanus Yourself

Skylar Grant 2023-09-02 15:28:19 -07:00
parent 5d55babeab
commit ed5f201c51

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