Files
galaxy/crates/persistence/migrations/2023-07-19-214343_snapshot-notebook-panes/down.sql
T

6 lines
238 B
SQL

-- Notebook panes are new, so we can undo the migration by removing them completely.
-- To avoid foreign key errors, we have to delete any saved notebook panes.
DELETE FROM pane_leaves WHERE kind = 'notebook';
DROP TABLE notebook_panes;