* Add CreateConstraint function * Refactored to recreateTable function * fix determining constraint name