photosite/sql/setup.sql

12 lines
209 B
MySQL
Raw Normal View History

2024-01-06 05:25:07 +00:00
CREATE TABLE IF NOT EXISTS photos {
2024-01-08 20:38:27 +00:00
id TEXT PRIMARY KEY,
created INTEGER,
updated INTEGER,
deleted INTEGER DEFAULT 0
2024-01-06 05:25:07 +00:00
}
CREATE TABLE IF NOT EXISTS version {
id TEXT PRIMARY KEY,
updated INTEGER UNIQUE
}