Drop all constraints for specified column name

Declined
#1 · Created  · Last updated

Declined pull request

Doesn't seem like a core function, and the PR has sat dormant for a long time. Sorry!

Closed by: ·2016-02-12

Description

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.

0 attachments

0 comments

Loading commits...