Add admin flag to savefile

This commit is contained in:
Lncvrt committed 2026-02-22 08:13:50 -07:00
1 parent 2b54ff1ab0
commit 0f14e90d05
4 files changed
+8 -4

No files matched your search

+4 -3
View File
@@ -3,9 +3,9 @@
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Feb 13, 2026 at 09:50 AM
-- Server version: 11.8.5-MariaDB-log
-- PHP Version: 8.5.2
-- Generation Time: Feb 22, 2026 at 03:13 PM
-- Server version: 11.8.6-MariaDB-log
-- PHP Version: 8.5.3
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
@@ -120,6 +120,7 @@ CREATE TABLE `users` (
`token` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`latest_ip` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
`register_time` bigint(20) NOT NULL,
`admin` tinyint(1) NOT NULL DEFAULT 0,
`leaderboards_banned` tinyint(1) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=COMPRESSED;