venom/install/db.sql

42 lines
1.4 KiB
MySQL
Raw Normal View History

create table if not exists seoData
(
id int(255) auto_increment not null unique primary key,
seo varchar(255) not null,
raw varchar(255) not null,
isActive tinyint(1) default 1 null
)
comment 'seo url mapping';
create table if not exists language
(
id int(255) auto_increment not null unique primary key,
language varchar(255) not null,
shortTag varchar(255) not null,
isActive tinyint(1) default 1 null,
isDefault tinyint(1) default 0 null
)
comment 'Language File';
create table if not exists data
(
id int(255) auto_increment not null unique primary key,
identity varchar(255) not null unique,
isActive tinyint(1) default 1 null,
generated longtext not null,
raw longtext not null,
datatype enum ('content', 'form')
)
comment 'DataLoader File';
2020-09-25 21:33:54 +02:00
create table if not exists users
(
id int(255) auto_increment not null unique primary key,
username varchar(255) not null unique,
email varchar(255) not null,
password varchar(255) not null,
token varchar(255) not null,
salt varchar(255) not null,
roles text default 'ROLE_GUEST' not null,
isActive tinyint(1) default 1 null
)
comment 'User File';