1CREATE TABLE `content_html` (
2 `id` int(11) NOT NULL AUTO_INCREMENT,
3 `id_box_elements` int(11) DEFAULT NULL,
4 `id_router` int(11) DEFAULT NULL,
5 `content` mediumtext COLLATE utf8_czech_ci NOT NULL,
6 PRIMARY KEY (`id`),
7 UNIQUE KEY `id_box_elements` (`id_box_elements`,`id_router`)
8);
1CREATE TABLE IF NOT EXISTS cliente (
2 id bigint primary key auto_increment,
3 nome varchar(100) not null,
4 email varchar(100) not null unique,
5 senha varchar(255) not null,
6 documento varchar(50) not null unique,
7 dataCadastro date not null
8) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;