Skip to content

Commit

Permalink
database update
Browse files Browse the repository at this point in the history
  • Loading branch information
larentoun committed Apr 17, 2024
1 parent 5eb2888 commit 49eb667
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions SQL/bandastation_update.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
--
-- SS220 ADDITION AND EDITS
--

--
-- Table structure for table `ckey_whitelist`
--
DROP TABLE IF EXISTS `ckey_whitelist`;
CREATE TABLE `ckey_whitelist` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`date` DATETIME DEFAULT now() NOT NULL,
`ckey` VARCHAR(32) NOT NULL,
`adminwho` VARCHAR(32) NOT NULL,
`port` INT(5) UNSIGNED NOT NULL,
`date_start` DATETIME DEFAULT now() NOT NULL,
`date_end` DATETIME NULL,
`is_valid` BOOLEAN DEFAULT true NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Table structure for table `admin_wl`
--
DROP TABLE IF EXISTS `admin_wl`;
CREATE TABLE `admin_wl` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`ckey` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL,
`admin_rank` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Administrator',
`level` int(2) NOT NULL DEFAULT '0',
`flags` int(16) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `ckey` (`ckey`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

0 comments on commit 49eb667

Please sign in to comment.