Drop all constraints for specified column name
Victor Fokin (approved)
Branch: vfokin/ladder:develop
Branch: drarok/ladder:develop
Declined
Declined pull request
Doesn't seem like a core function, and the PR has sat dormant for a long time. Sorry!
Closed by: Drarok·2016-02-12
I've added method drop_constraint_for_column($column_name) that drops all constraints for specified column. I had trouble deleting constraints that were not created by ladder. Also I added $this->query($sql) method that is a wrapper for $this->db->query() but in case of error prints out SQL statement that has failed.