This prevents errors when doing rake db:setup (the db has still not been created but the rails models are loaded)