TheMathemagicians/sevenkeys/database/migrations/00006_add_cardscan_table.sql

14 lines
295 B
SQL

-- +goose Up
-- +goose StatementBegin
CREATE TABLE IF NOT EXISTS CardScan (
Id INT PRIMARY KEY AUTO_INCREMENT,
CardLocationId INT NOT NULL,
Filename VARCHAR(100) NOT NULL
);
-- +goose StatementEnd
-- +goose Down
-- +goose StatementBegin
DROP TABLE IF EXISTS CardScan;
-- +goose StatementEnd