2020-07-24 11:08:07 +02:00
|
|
|
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';
|
|
|
|
|
2020-09-25 21:39:05 +02:00
|
|
|
create table if not exists metaTagData
|
|
|
|
(
|
|
|
|
id int(255) auto_increment not null unique primary key,
|
|
|
|
content JSON not null,
|
|
|
|
isActive tinyint(1) default 1 null
|
|
|
|
)
|
|
|
|
comment 'Meta Tag File';
|
|
|
|
|
2020-07-24 11:08:07 +02:00
|
|
|
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';
|
2020-09-20 17:15:20 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
(
|
2020-12-22 18:07:13 +01:00
|
|
|
id int(255) auto_increment not null unique primary key,
|
|
|
|
username varchar(255) not null unique,
|
|
|
|
firstname varchar(255) not null,
|
|
|
|
lastname varchar(255) not null,
|
|
|
|
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
|
2020-09-25 21:33:54 +02:00
|
|
|
)
|
2020-12-22 18:07:13 +01:00
|
|
|
comment 'User File';
|
|
|
|
|
|
|
|
create table if not exists roles
|
|
|
|
(
|
|
|
|
id int(255) auto_increment not null unique primary key,
|
|
|
|
name varchar(255) not null unique,
|
|
|
|
content JSON not null,
|
|
|
|
isActive tinyint(1) default 1 null
|
|
|
|
)
|