salix/db/versions/.archive/10510-salmonMoss/01-createTableProfessionalC...

11 lines
381 B
SQL

CREATE OR REPLACE TABLE vn.professionalCategory (
id int(11) auto_increment NOT NULL,
name varchar(50) NOT NULL,
`level` INT(11) UNSIGNED DEFAULT NULL NULL,
dayBreak int(11) UNSIGNED DEFAULT NULL NULL,
CONSTRAINT prefessionalCategory_PK PRIMARY KEY (id),
CONSTRAINT prefessionalCategory_UN UNIQUE KEY (name)
)
ENGINE=InnoDB
DEFAULT CHARSET=utf8mb3
COLLATE=utf8mb3_unicode_ci;