bvplan/backend/migrations/2022-12-03-124501_init/down.sql
2023-01-17 06:54:45 +01:00

39 lines
530 B
SQL

DROP TABLE substitution_room;
DROP TABLE substitution_subject;
DROP TABLE substitution_teacher;
DROP TABLE substitution_class;
DROP TABLE substitutions;
DROP TYPE substitution_type;
DROP TABLE substitution_queries;
DROP TYPE week_type;
DROP TABLE timegrid_time_unit;
DROP TABLE timegrid_days;
DROP TABLE timegrids;
DROP TABLE holidays;
DROP TABLE departments;
DROP TABLE rooms;
DROP TABLE subjects;
DROP TABLE classes;
DROP TABLE teachers;
DROP INDEX tenants_active;
DROP TABLE tenants;
DROP TABLE schoolyears;