mirror of
https://github.com/standardebooks/web.git
synced 2025-07-12 17:42:29 -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
|
@ -3,6 +3,6 @@ CREATE TABLE IF NOT EXISTS `NewsletterSubscriptions` (
|
|||
`IsConfirmed` tinyint(1) unsigned NOT NULL DEFAULT 0,
|
||||
`IsSubscribedToNewsletter` tinyint(1) unsigned NOT NULL DEFAULT 1,
|
||||
`IsSubscribedToSummary` tinyint(1) unsigned NOT NULL DEFAULT 1,
|
||||
`Created` datetime NOT NULL,
|
||||
`Created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`UserId`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue