mirror of
https://github.com/simonw/datasette.git
synced 2026-09-24 19:04:08 +02:00
Ran cog
This commit is contained in:
parent
e62a5ea337
commit
2d07c3b99e
2 changed files with 10 additions and 2 deletions
|
|
@ -128,8 +128,7 @@ async def initialize_metadata_tables(db):
|
|||
owner_id TEXT,
|
||||
created_at TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
updated_at TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (database_name, name),
|
||||
CHECK (is_write = 0 OR is_published = 0)
|
||||
PRIMARY KEY (database_name, name)
|
||||
);
|
||||
|
||||
CREATE INDEX IF NOT EXISTS queries_owner_idx
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue