mirror of
https://github.com/standardebooks/web.git
synced 2025-07-13 18:11:52 -04:00
Change some datetime columns to timestamp
This commit is contained in:
parent
028c8237a5
commit
88c3049d7a
8 changed files with 10 additions and 10 deletions
|
@ -5,8 +5,8 @@ CREATE TABLE IF NOT EXISTS `Artworks` (
|
|||
`UrlName` varchar(255) NOT NULL,
|
||||
`CompletedYear` smallint unsigned NULL,
|
||||
`CompletedYearIsCirca` boolean NOT NULL DEFAULT FALSE,
|
||||
`Created` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
`Updated` timestamp NOT NULL,
|
||||
`Created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
`Updated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
`Status` enum('unverified', 'approved', 'declined', 'in_use') DEFAULT 'unverified',
|
||||
`SubmitterUserId` int(10) unsigned NULL,
|
||||
`ReviewerUserId` int(10) unsigned NULL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue