mirror of
https://github.com/simonw/datasette.git
synced 2026-09-29 13:24:07 +02:00
Add alter table JSON API
- Add POST /<database>/<table>/-/alter with Pydantic validation and dry-run support. - Support add, rename, alter, drop, primary-key and reorder operations, including allow-listed default expressions. - Document the endpoint and cover schema changes, validation, permissions, events and dry runs. Refs #2788
This commit is contained in:
parent
2d3c85dfc0
commit
b40665dd14
5 changed files with 667 additions and 0 deletions
|
|
@ -39,6 +39,7 @@ dependencies = [
|
|||
"asyncinject>=0.7",
|
||||
"setuptools",
|
||||
"pip",
|
||||
"pydantic>=2",
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue