Datasette plugin for modifying table schemas
Project description
datasette-edit-schema
Datasette plugin for modifying table schemas
Features (planned)
- Rename a table
- Delete a table
- Modify the type of columns in a table
- Add new columns to a table
- Create a new empty table from scratch
Installation
Install this plugin in the same environment as Datasette.
$ pip install datasette-edit-schema
Usage
Navigate to /-/edit-schema/dbname/tablename
on your Datasette instance to edit a specific table.
Use /-/edit-schema/dbname
to create a new table in a specific database.
By default only the root actor can access the page - so you'll need to run Datasette with the --root
option and click on the link shown in the terminal to sign in and access the page.
The edit-schema
permission governs access. You can use permission plugins such as datasette-permissions-sql to grant additional access to the write interface.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for datasette-edit-schema-0.3a2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5903c6ba0ae938f8b15eb2191d525d437778b0b840d9869c2375057e6d5e49a |
|
MD5 | 57d6e54c3c263ff4a3e9d7c4b0a61a9f |
|
BLAKE2b-256 | 9bcff8f120d9ba492614f5f4e7cfc01d08ff6225271ff8668ac911fba9e1b37c |
Hashes for datasette_edit_schema-0.3a2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13ec3a10aa62c22821fe9268aed1bbdb485c10a9fcbc0257a126af68c55cae75 |
|
MD5 | 1292fc0d35e8aac907094374a0c2608b |
|
BLAKE2b-256 | d88cea547fd3f087c23c5969cf9ac8bec17bfdfc57f071141321c220af2414df |