mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 07:10:29 -04:00
8 lines
408 B
SQL
8 lines
408 B
SQL
CREATE TABLE IF NOT EXISTS `NewsletterSubscriptions` (
|
|
`UserId` int(10) unsigned NOT NULL,
|
|
`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` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
PRIMARY KEY (`UserId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|