dbconstraint while syncing and sync statics