diffusers-gallery-bot / schema.sql
radames's picture
update likes and downloads
dabf25e
raw
history blame
270 Bytes
PRAGMA foreign_keys = OFF;
BEGIN TRANSACTION;
CREATE TABLE models (
id TEXT PRIMARY KEY NOT NULL,
data json,
likes INTEGER DEFAULT 0 NOT NULL,
downloads INTEGER DEFAULT 0 NOT NULL,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL
);
COMMIT;