mirror of
https://github.com/standardebooks/web.git
synced 2025-07-19 12:54:48 -04:00
Convert newsletter to use Users table as base
This commit is contained in:
parent
b48a788430
commit
011cd747f1
34 changed files with 444 additions and 307 deletions
8
config/sql/se/NewsletterSubscriptions.sql
Normal file
8
config/sql/se/NewsletterSubscriptions.sql
Normal file
|
@ -0,0 +1,8 @@
|
|||
CREATE TABLE `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` datetime NOT NULL,
|
||||
PRIMARY KEY (`UserId`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
Loading…
Add table
Add a link
Reference in a new issue