Add v2 launcher updater endpoint

This commit is contained in:
Lncvrt committed 2026-04-02 17:14:24 -07:00
1 parent 5aa3ed5820
commit d7befe30ca
4 files changed
+119 -1

No files matched your search

+27 -1
View File
@@ -3,7 +3,7 @@
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Mar 29, 2026 at 12:54 AM
-- Generation Time: Apr 03, 2026 at 12:13 AM
-- Server version: 10.11.14-MariaDB-0ubuntu0.24.04.1
-- PHP Version: 8.3.30
@@ -169,6 +169,20 @@ CREATE TABLE `users` (
-- --------------------------------------------------------
--
-- Table structure for table `v2launcherupdates`
--
CREATE TABLE `v2launcherupdates` (
`id` bigint(20) NOT NULL,
`version` varchar(32) NOT NULL,
`notes` text NOT NULL,
`release_date` timestamp NOT NULL,
`download_data` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=COMPRESSED;
-- --------------------------------------------------------
--
-- Table structure for table `verifycodes`
--
@@ -241,6 +255,12 @@ ALTER TABLE `resetcodes`
ALTER TABLE `users`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `v2launcherupdates`
--
ALTER TABLE `v2launcherupdates`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `verifycodes`
--
@@ -281,6 +301,12 @@ ALTER TABLE `resetcodes`
ALTER TABLE `users`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `v2launcherupdates`
--
ALTER TABLE `v2launcherupdates`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `verifycodes`
--