mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 15:20:32 -04:00
Add accounting bit to Collections table
This commit is contained in:
parent
79fdc8c20f
commit
cb1cfc8c21
2 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,7 @@ CREATE TABLE IF NOT EXISTS `Collections` (
|
||||||
`Name` varchar(255) NOT NULL,
|
`Name` varchar(255) NOT NULL,
|
||||||
`UrlName` varchar(255) NOT NULL,
|
`UrlName` varchar(255) NOT NULL,
|
||||||
`Type` enum('series', 'set') NULL,
|
`Type` enum('series', 'set') NULL,
|
||||||
|
`ArePlaceholdersComplete` tinyint(1) NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`CollectionId`),
|
PRIMARY KEY (`CollectionId`),
|
||||||
UNIQUE KEY `idxUnique` (`UrlName`)
|
UNIQUE KEY `idxUnique` (`UrlName`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||||
|
|
|
@ -11,6 +11,8 @@ class Collection{
|
||||||
public string $Name;
|
public string $Name;
|
||||||
public string $UrlName;
|
public string $UrlName;
|
||||||
public ?Enums\CollectionType $Type = null;
|
public ?Enums\CollectionType $Type = null;
|
||||||
|
public bool $ArePlaceholdersComplete; /** Has a producer verified that every possible item in this `Collection` been added to our database? */
|
||||||
|
|
||||||
protected ?string $_Url = null;
|
protected ?string $_Url = null;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue