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
|
Language VARCHAR(3) NOT NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
-- CREATE TABLE IF NOT EXISTS CardStorageLocation (
|
CREATE TABLE IF NOT EXISTS CardStorageLocation (
|
||||||
-- Id INT AUTO_INCREMENT PRIMARY KEY,
|
Id INT AUTO_INCREMENT PRIMARY KEY,
|
||||||
-- CardPrintingId VARCHAR(36) NOT NULL,
|
CardPrintingId INT NOT NULL,
|
||||||
-- FOREIGN KEY (CardPrintingId) REFERENCES CardPrinting(Id),
|
FOREIGN KEY (CardPrintingId) REFERENCES CardPrinting(Id),
|
||||||
-- IsFoil BOOLEAN NOT NULL,
|
StorageBox VARCHAR(20) NOT NULL,
|
||||||
-- StorageBox VARCHAR(20) NOT NULL,
|
Position INT NOT NULL,
|
||||||
-- Source VARCHAR(100) NULL,
|
Source VARCHAR(100) NULL
|
||||||
-- Position INT NOT NULL
|
);
|
||||||
-- );
|
|
||||||
|
|
Loading…
Reference in New Issue