Add a way to get splash texts

This commit is contained in:
2026-01-30 21:30:09 -07:00
parent f97e58161c
commit cb8c171dcf
4 changed files with 72 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Jan 30, 2026 at 02:12 AM
-- Generation Time: Jan 31, 2026 at 04:12 AM
-- Server version: 12.1.2-MariaDB
-- PHP Version: 8.5.2
@@ -69,13 +69,26 @@ CREATE TABLE `marketplaceicons` (
-- --------------------------------------------------------
--
-- Table structure for table `splashtexts`
--
CREATE TABLE `splashtexts` (
`id` bigint(20) NOT NULL,
`userId` bigint(20) NOT NULL,
`content` varchar(72) NOT NULL,
`timestamp` bigint(20) NOT NULL,
`state` tinyint(1) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=COMPRESSED;
-- --------------------------------------------------------
--
-- Table structure for table `userdata`
--
CREATE TABLE `userdata` (
`id` bigint(20) NOT NULL,
`token` varchar(512) NOT NULL,
`save_data` longtext NOT NULL DEFAULT '{}',
`legacy_high_score` bigint(20) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=COMPRESSED;
@@ -118,6 +131,12 @@ ALTER TABLE `chats`
ALTER TABLE `marketplaceicons`
ADD PRIMARY KEY (`place`);
--
-- Indexes for table `splashtexts`
--
ALTER TABLE `splashtexts`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `userdata`
--
@@ -152,6 +171,12 @@ ALTER TABLE `chats`
ALTER TABLE `marketplaceicons`
MODIFY `place` bigint(20) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `splashtexts`
--
ALTER TABLE `splashtexts`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `userdata`
--