mirror of
https://github.com/simonw/datasette.git
synced 2026-05-27 12:34:37 +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
|
||||
|
|
|
|||
|
|
@ -216,6 +216,15 @@ If you run ``datasette plugins --all`` it will include default plugins that ship
|
|||
"register_column_types"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "datasette.default_database_actions",
|
||||
"static": false,
|
||||
"templates": false,
|
||||
"version": null,
|
||||
"hooks": [
|
||||
"database_actions"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "datasette.default_debug_menu",
|
||||
"static": false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue