li7y/migrations/20240703122248_item_add_parent.down.sql
Simon Bruder 00d7647187
Switch to sqlx
While diesel has a native rust interface, writing more complex queries
is easier when you can just pass a SQL query string.
2024-07-19 00:05:26 +02:00

11 lines
202 B
SQL

-- SPDX-FileCopyrightText: 2024 Simon Bruder <simon@sbruder.de>
--
-- SPDX-License-Identifier: AGPL-3.0-or-later
ALTER TABLE items
DROP parent;
DROP VIEW item_tree;
DROP FUNCTION check_item_cycle;