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;
