mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-11 09:13:15 +03:00
15 lines
328 B
PL/PgSQL
15 lines
328 B
PL/PgSQL
PRAGMA foreign_keys=OFF;
|
|
BEGIN;
|
|
-- The "storage" table contains file data stored in the database
|
|
CREATE TABLE storage
|
|
(
|
|
path TEXT NOT NULL PRIMARY KEY,
|
|
data BLOB NOT NULL,
|
|
size INTEGER NOT NULL,
|
|
mod_time DATETIME NOT NULL,
|
|
created_at DATETIME NOT NULL
|
|
);
|
|
|
|
COMMIT;
|
|
PRAGMA foreign_keys=ON;
|