simonw / datasette-edit-schema

Datasette plugin for modifying table schemas
Apache License 2.0
16 stars 0 forks source link

Current table schema displayed as None #49

Closed simonw closed 7 months ago

simonw commented 7 months ago

This looks like a bug (see bottom of image):

simonw commented 7 months ago

Found the bug: https://github.com/simonw/datasette-edit-schema/blob/974c803b987a6386be6a201b5f07961f147810f8/datasette_edit_schema/__init__.py#L390-L397

That's hard-coded to Orders.

But after I tried fixing it I got this:

image

I don't think the triggers are relevant here.

simonw commented 7 months ago

Actually it's quite nice having the triggers shown here - but I'd like the screenshot NOT to include them. I'll drop them as part of the script that takes the screenshot.