mirror of
https://github.com/standardebooks/web.git
synced 2025-07-12 17:42:29 -04:00
Co-authored-by: Job Curtis <job.curtis@gmail.com> Co-authored-by: Alex Cabal <alex@standardebooks.org>
10 lines
438 B
SQL
10 lines
438 B
SQL
CREATE TABLE `Benefits` (
|
|
`UserId` int(10) unsigned NOT NULL,
|
|
`CanAccessFeeds` tinyint(1) unsigned NOT NULL,
|
|
`CanVote` tinyint(1) unsigned NOT NULL,
|
|
`CanBulkDownload` tinyint(1) unsigned NOT NULL,
|
|
`CanAddArtwork` tinyint(1) unsigned NOT NULL,
|
|
`CanReviewArtwork` tinyint(1) unsigned NOT NULL,
|
|
PRIMARY KEY (`UserId`),
|
|
KEY `idxBenefits` (`CanAccessFeeds`,`CanVote`,`CanBulkDownload`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|