Migration script to add database constraints to conqueso tables