Fix Unique in db models