MySQL Drop column along with all it's foreign key constraints (PHP PDO) -
i trying drop column of table via php (pdo). there foreign key constraint on column in question.
so drop constraints placed on column along column.
dbcon::getcon()->query('alter table `module_column` drop column `module_id`');
how drop foreign key constraints along column?
Comments
Post a Comment