From 47619932704f9fa4bc0cab8a8bef785239b41aae Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Tue, 13 Jul 2021 18:11:17 +0200 Subject: [PATCH] Applied migration script --- docs/migration.sql | 34 +--------------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) diff --git a/docs/migration.sql b/docs/migration.sql index b824c8c..105f2e9 100644 --- a/docs/migration.sql +++ b/docs/migration.sql @@ -1,33 +1 @@ --- Comunic admin -CREATE TABLE `comunic_admin` ( - `id` INT NOT NULL AUTO_INCREMENT, - `time_create` INT NULL, - `name` VARCHAR(45) NULL, - `email` VARCHAR(45) NULL, - `reset_token` VARCHAR(255) NULL, - `reset_token_expire` INT NULL, - PRIMARY KEY (`id`)); - -CREATE TABLE `comunic_admin_key` ( - `id` INT NOT NULL AUTO_INCREMENT, - `admin_id` INT NULL, - `name` VARCHAR(45) NULL, - `time_add` INT NULL, - `credential` TEXT NULL, - `password` VARCHAR(255) NULL, - PRIMARY KEY (`id`)); - -CREATE TABLE `comunic_admin_roles` ( - `id` INT NOT NULL AUTO_INCREMENT, - `admin_id` INT NOT NULL, - `role_id` VARCHAR(25) NULL, - `time_insert` INT NULL, - PRIMARY KEY (`id`)); - -CREATE TABLE `comunic_admin_log` ( - `id` INT NOT NULL AUTO_INCREMENT, - `admin_id` INT NULL, - `ip` VARCHAR(40) NULL, - `time` INT NULL, - `action` VARCHAR(255) NULL, - PRIMARY KEY (`id`)); +-- Nothing yet \ No newline at end of file