Add CardCondition field to CardStorageLocation

This commit is contained in:
The Magician 2024-06-03 18:18:35 +01:00
parent ef6aa4fde5
commit 7863b60bed
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ CREATE TABLE IF NOT EXISTS CardStorageLocation (
Id INT AUTO_INCREMENT PRIMARY KEY, Id INT AUTO_INCREMENT PRIMARY KEY,
CardPrintingId VARCHAR(37) NOT NULL, CardPrintingId VARCHAR(37) NOT NULL,
FOREIGN KEY (CardPrintingId) REFERENCES CardPrinting(Id), FOREIGN KEY (CardPrintingId) REFERENCES CardPrinting(Id),
CardCondition ENUM('Mint', 'Near Mint', 'Excellent', 'Good', 'Light Played', 'Played', 'Poor') NOT NULL,
StorageBox VARCHAR(20) NOT NULL, StorageBox VARCHAR(20) NOT NULL,
Position INT NOT NULL, Position INT NOT NULL,
Source VARCHAR(100) NULL Source VARCHAR(100) NULL