Move feeds behind Patrons Circle login

This commit is contained in:
Alex Cabal 2022-07-08 12:01:45 -05:00
parent 0a32b295b0
commit 6c603016bd
20 changed files with 367 additions and 183 deletions

View 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;

View file

@ -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;