[FIX] add SQL constraints only for models stored in database (not on AbstractModel)
[MERGE] orm: add _sql_contraints only when _auto.