Create CardStorageLocation table
This commit is contained in:
parent
f84f19a0b7
commit
405ef9edc5
|
@ -25,12 +25,11 @@ CREATE TABLE IF NOT EXISTS CardPrinting (
|
|||
Language VARCHAR(3) NOT NULL
|
||||
);
|
||||
|
||||
-- CREATE TABLE IF NOT EXISTS CardStorageLocation (
|
||||
-- Id INT AUTO_INCREMENT PRIMARY KEY,
|
||||
-- CardPrintingId VARCHAR(36) NOT NULL,
|
||||
-- FOREIGN KEY (CardPrintingId) REFERENCES CardPrinting(Id),
|
||||
-- IsFoil BOOLEAN NOT NULL,
|
||||
-- StorageBox VARCHAR(20) NOT NULL,
|
||||
-- Source VARCHAR(100) NULL,
|
||||
-- Position INT NOT NULL
|
||||
-- );
|
||||
CREATE TABLE IF NOT EXISTS CardStorageLocation (
|
||||
Id INT AUTO_INCREMENT PRIMARY KEY,
|
||||
CardPrintingId INT NOT NULL,
|
||||
FOREIGN KEY (CardPrintingId) REFERENCES CardPrinting(Id),
|
||||
StorageBox VARCHAR(20) NOT NULL,
|
||||
Position INT NOT NULL,
|
||||
Source VARCHAR(100) NULL
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue