Commit 93974b59 authored by Matthieu - Greep's avatar Matthieu - Greep

Removing auth table in database

parent fb9f17d3
Pipeline #463 passed with stage
in 52 seconds
CREATE DATABASE IF NOT EXISTS `map-karma-api` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; CREATE DATABASE IF NOT EXISTS `map-karma-api` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
USE `map-karma-api`; USE `map-karma-api`;
DROP TABLE IF EXISTS `auth`;
CREATE TABLE IF NOT EXISTS `auth` (
`id` int NOT NULL AUTO_INCREMENT,
`token` varchar(256) COLLATE utf8mb4_general_ci NOT NULL,
`description` text COLLATE utf8mb4_general_ci NOT NULL,
`validate` tinyint(1) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
DROP TABLE IF EXISTS `votes`; DROP TABLE IF EXISTS `votes`;
CREATE TABLE IF NOT EXISTS `votes` ( CREATE TABLE IF NOT EXISTS `votes` (
`map` varchar(128) COLLATE utf8mb4_general_ci NOT NULL, `map` varchar(128) COLLATE utf8mb4_general_ci NOT NULL,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment