fotostore/sql/deploy/albums.sql

15 lines
321 B
MySQL
Raw Normal View History

2017-07-31 10:14:59 +03:00
-- Deploy fotostore:albums to sqlite
BEGIN;
CREATE TABLE albums (
album_id INTEGER PRIMARY KEY AUTOINCREMENT,
name STRING NOT NULL,
description TEXT,
created DATETIME DEFAULT (CURRENT_TIMESTAMP),
modified DATETIME DEFAULT (CURRENT_TIMESTAMP),
deleted BOOLEAN
);
COMMIT;