1
0
mirror of https://github.com/writeas/writefreely synced 2025-02-09 22:00:39 +01:00

Remove default value for posts.updated

This closes #3
This commit is contained in:
Matt Baer 2018-11-10 00:27:44 -05:00
parent a6478f1b1d
commit 3bf10d8074

View File

@ -108,7 +108,7 @@ CREATE TABLE IF NOT EXISTS `posts` (
`collection_id` int(6) DEFAULT NULL,
`pinned_position` tinyint(1) UNSIGNED DEFAULT NULL,
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`updated` timestamp NOT NULL,
`view_count` int(6) NOT NULL,
`title` varchar(160) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,