Add CardtraderProductId field to CardLocation

This commit is contained in:
The Magician 2024-11-24 17:18:27 +00:00
parent 1b579a28da
commit 93184d4c52
1 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,7 @@ CREATE TABLE IF NOT EXISTS CardPrinting (
Language VARCHAR(3) NOT NULL Language VARCHAR(3) NOT NULL
); );
/*
INSERT INTO CardPrinting ( INSERT INTO CardPrinting (
Id, Id,
Name, Name,
@ -45,6 +46,7 @@ INSERT INTO CardPrinting (
'', '',
'en' 'en'
); );
*/
CREATE TABLE IF NOT EXISTS StorageArea ( CREATE TABLE IF NOT EXISTS StorageArea (
Id INT AUTO_INCREMENT PRIMARY KEY, Id INT AUTO_INCREMENT PRIMARY KEY,
@ -61,6 +63,8 @@ CREATE TABLE IF NOT EXISTS CardLocation (
Position INT NULL Position INT NULL
); );
ALTER TABLE CardLocation ADD CardtraderProductId INT NULL;
CREATE TABLE IF NOT EXISTS CardScan ( CREATE TABLE IF NOT EXISTS CardScan (
Id INT PRIMARY KEY AUTO_INCREMENT, Id INT PRIMARY KEY AUTO_INCREMENT,
CardLocationId INT NOT NULL, CardLocationId INT NOT NULL,