From 7863b60bed8ba2d22fd5e4f355e03996602349b4 Mon Sep 17 00:00:00 2001 From: The Magician Date: Mon, 3 Jun 2024 18:18:35 +0100 Subject: [PATCH] Add CardCondition field to CardStorageLocation --- sevenkeys/database/sql/createdb.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/sevenkeys/database/sql/createdb.sql b/sevenkeys/database/sql/createdb.sql index 8446caa..2d6b9a1 100644 --- a/sevenkeys/database/sql/createdb.sql +++ b/sevenkeys/database/sql/createdb.sql @@ -29,6 +29,7 @@ CREATE TABLE IF NOT EXISTS CardStorageLocation ( Id INT AUTO_INCREMENT PRIMARY KEY, CardPrintingId VARCHAR(37) NOT NULL, FOREIGN KEY (CardPrintingId) REFERENCES CardPrinting(Id), + CardCondition ENUM('Mint', 'Near Mint', 'Excellent', 'Good', 'Light Played', 'Played', 'Poor') NOT NULL, StorageBox VARCHAR(20) NOT NULL, Position INT NOT NULL, Source VARCHAR(100) NULL