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

14 lines
295 B
MySQL
Raw Normal View History

2024-11-25 17:13:50 +00:00
-- +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