Move database check in `schedule_maker` as it broke `create_unittest_data`
Move database check in `schedule_maker` as it broke `create_unittest_data`

architecture-building-systems/CityEnergyAnalyst,architecture-building-systems/CityEnergyAnalyst,architecture-building-systems/CityEnergyAnalyst