CREATE TABLE IF NOT EXISTS `society` ( `id` int(11) NOT NULL, `name` varchar(255) DEFAULT NULL, `money` longtext DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; INSERT INTO `society` (`id`, `name`, `money`) VALUES (1, 'police', '0'), (2, 'lostmc', '0'); CREATE TABLE IF NOT EXISTS `transaction_history` ( `id` int(11) NOT NULL AUTO_INCREMENT, `citizenid` text NOT NULL, `trans_id` int(11) NOT NULL, `account` text NOT NULL, `amount` int(11) NOT NULL, `trans_type` text NOT NULL, `receiver` text NOT NULL, `message` text NOT NULL, `date` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=73 DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `players` ( `id` int(11) NOT NULL AUTO_INCREMENT, `citizenid` varchar(255) NOT NULL, `cid` int(11) DEFAULT NULL, `license` varchar(255) NOT NULL, `name` varchar(255) NOT NULL, `money` text NOT NULL, `paycheck` int(11) DEFAULT 0, `charinfo` text DEFAULT NULL, `job` text NOT NULL, `gang` text DEFAULT NULL, `position` text NOT NULL, `metadata` text NOT NULL, `inventory` longtext DEFAULT NULL, `last_updated` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(), PRIMARY KEY (`citizenid`), KEY `id` (`id`), KEY `last_updated` (`last_updated`), KEY `license` (`license`) ) ENGINE=InnoDB AUTO_INCREMENT=1;