mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 02:46:46 -04:00
Move feeds behind Patrons Circle login
This commit is contained in:
parent
0a32b295b0
commit
6c603016bd
20 changed files with 367 additions and 183 deletions
7
config/sql/se/FeedUsers.sql
Normal file
7
config/sql/se/FeedUsers.sql
Normal file
|
@ -0,0 +1,7 @@
|
|||
CREATE TABLE `FeedUsers` (
|
||||
`UserId` int(10) unsigned NOT NULL,
|
||||
`Created` datetime NOT NULL,
|
||||
`Ended` datetime DEFAULT NULL,
|
||||
`Notes` text DEFAULT NULL,
|
||||
KEY `idxUserId` (`UserId`,`Ended`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
|
@ -5,6 +5,6 @@ CREATE TABLE `Patrons` (
|
|||
`IsSubscribedToEmails` tinyint(1) NOT NULL DEFAULT 1,
|
||||
`Created` datetime NOT NULL,
|
||||
`Ended` datetime DEFAULT NULL,
|
||||
PRIMARY KEY (`UserId`),
|
||||
KEY `index2` (`IsAnonymous`,`Ended`)
|
||||
KEY `index2` (`IsAnonymous`,`Ended`),
|
||||
KEY `index1` (`UserId`,`Ended`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue