I am trying to drop a column of a table via PHP (PDO). However there is a foreign key constraint on the column in question.
So I would like to drop the constraints placed on this column along with column.
DBCon::getCon()->query('ALTER TABLE `module_column` DROP COLUMN `module_id`');
How do I drop the foreign key constraints along with the column?