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

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -