1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-12-30 15:38:52 +00:00
comunicapiv3/docs/migration.sql

18 lines
428 B
MySQL
Raw Normal View History

2021-05-08 16:22:28 +00:00
-- 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,
`admin_id` INT NULL,
`name` VARCHAR(45) NULL,
`time_add` INT NULL,
`key` TEXT NULL,
PRIMARY KEY (`id`));