check also if the teacher is registered for a lesson before his deletion.
If the teacher has a lesson then don't allow his deletion
Renames

db/defaultdata_production.sql -> db/defaultdata_production.sql.sample
diogenis.conf -> diogenis.conf.sample

It's simplier like this for the server to administrator to handle diogenis using git