eesyphp/example/data/mariadb-mysql.init-db.sql
Benjamin Renard 4f47dc056d Tpl: Add stuff to handle static files
* Move example application in example sub-directory
* Widely use App::get() instead of Config::get()
2023-02-12 00:30:36 +01:00

8 lines
311 B
SQL

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;