1
0
mirror of https://github.com/JustKato/FreePad.git synced 2026-02-24 00:00:46 +02:00

Initial Commit

This commit is contained in:
2022-05-15 12:43:42 +03:00
commit 21b8605fc0
21 changed files with 282 additions and 0 deletions

View File

@@ -0,0 +1 @@
DROP TABLE IF EXISTS t_posts;

View File

@@ -0,0 +1,11 @@
CREATE TABLE IF NOT EXISTS `t_posts` (
`id` INT(11) NOT NULL,
`name` VARCHAR(256) NOT NULL DEFAULT '' COLLATE 'latin1_swedish_ci',
`content` MEDIUMTEXT NOT NULL COLLATE 'latin1_swedish_ci',
`ts` DATETIME NOT NULL DEFAULT current_timestamp(),
`ts_updated` DATETIME NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
PRIMARY KEY (`id`) USING BTREE
)
COLLATE='latin1_swedish_ci'
ENGINE=InnoDB
;