TheMathemagicians/scantap/createtable.sql

9 lines
202 B
SQL

USE sevenkeys;
CREATE TABLE IF NOT EXISTS CardScan (
Id INT PRIMARY KEY AUTO_INCREMENT,
StorageAreaId INT NOT NULL,
FOREIGN KEY (StorageAreaId) REFERENCES StorageArea(Id),
Position INT NOT NULL
);