eesyphp/example/data/mariadb-mysql.init-db.sql

9 lines
311 B
MySQL
Raw Normal View History

2020-04-18 00:51:33 +02:00
CREATE TABLE item (
id INTEGER NOT NULL AUTO_INCREMENT,
name text CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL,
date timestamp NULL DEFAULT NULL,
status text NOT NULL,
description text CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL,
PRIMARY KEY (id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;