bluebell/database/migrations/20240810115057_init.up.sql

16 lines
348 B
MySQL
Raw Normal View History

2024-08-10 13:28:30 +01:00
CREATE TABLE sites
(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
2024-08-10 13:28:30 +01:00
domain TEXT NOT NULL,
token TEXT NOT NULL
);
CREATE TABLE branches
(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
domain TEXT NOT NULL,
branch TEXT NOT NULL,
last_update DATETIME NOT NULL,
enable BOOLEAN NOT NULL
2024-08-10 13:28:30 +01:00
);