fixed column name bug on table contstraints