mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-09 23:27:56 +01:00
98b6a2ff1a
## About The Pull Request - Fixes the privacy policy still showing up after accepted. - Makes it so closing out of the window kicks you. - Converts the whole thing from preference based to SQL based. ## Why It's Good For The Game Fixes and polish for a previously accepted PR are good for the game, yes. ## Proof Of Testing I can't take a screenshot of a privacy policy that didn't show up the second time around after I accepted it, but it properly filled out the database and worked during testing. ## Changelog 🆑 add: Closing out of the Privacy Policy window instead of accepting it now kicks you. fix: Fixed the Privacy Policy window showing up after you've already accepted it once, for real this time. /🆑
57 lines
2.1 KiB
SQL
57 lines
2.1 KiB
SQL
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
/*!40101 SET NAMES utf8 */;
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
|
--
|
|
-- Table structure for table `jobexempt`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `jobexempt`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `jobexempt` (
|
|
`ckey` varchar(32) NOT NULL,
|
|
`jobs` VARCHAR(2048) DEFAULT NULL,
|
|
PRIMARY KEY (`ckey`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
DROP TABLE IF EXISTS `vetted_list`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `vetted_list` (
|
|
`ckey` varchar(32) NOT NULL,
|
|
`admin_who_added` VARCHAR(32) DEFAULT NULL,
|
|
PRIMARY KEY (`ckey`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
DROP TABLE IF EXISTS `stored_faxes`;
|
|
CREATE TABLE `stored_faxes` (
|
|
`sender` VARCHAR(512) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
|
|
`destination_fax_machine` VARCHAR(512) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
|
|
`message` MEDIUMTEXT NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
|
|
`roundid` INT(11) NULL DEFAULT NULL,
|
|
`relayed` INT(11) NULL DEFAULT '0'
|
|
)
|
|
COLLATE='utf8mb4_general_ci'
|
|
ENGINE=InnoDB
|
|
;
|
|
|
|
DROP TABLE IF EXISTS `privacy_policy_acceptances`;
|
|
CREATE TABLE `privacy_policy_acceptances` (
|
|
`id` INT NOT NULL AUTO_INCREMENT,
|
|
`ckey` VARCHAR(32) NOT NULL,
|
|
`policy_key` VARCHAR(64) NOT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE INDEX `ckey_policy_unique` (`ckey`, `policy_key`)
|
|
);
|