Don't connect to DB when defining models

Asking `logical_delete?` here makes the app load time slower because `logical_delete?` immediately connects to the DB.