2024-05-10 11:40:25 +02:00
|
|
|
ALTER TABLE meal_images DROP CONSTRAINT image_id_constraint;
|
|
|
|
ALTER TABLE meal_images DROP CONSTRAINT meal_id_constraint;
|
|
|
|
|
|
|
|
DROP TABLE meals;
|
|
|
|
DROP TABLE restaurant_ratings;
|
|
|
|
DROP TABLE restaurants;
|
|
|
|
DROP TABLE nodes;
|
|
|
|
DROP TABLE users;
|
|
|
|
DROP TABLE images;
|
|
|
|
DROP TABLE meal_images;
|
|
|
|
|
|
|
|
DROP TYPE node_type;
|
2024-05-10 23:08:03 +02:00
|
|
|
DROP FUNCTION check_node_type();
|
|
|
|
DROP FUNCTION check_linked_restaurants();
|
2024-05-10 11:40:25 +02:00
|
|
|
DROP EXTENSION postgis CASCADE;
|