Class DropPrimaryKeyTask


public class DropPrimaryKeyTask extends BaseTableTask
Migration task that handles cross-database logic for dropping a primary key.

The process involves 2 steps for most databases:

  1. Running SQL to introspect the metadata tables to determine the name of the primary key.
  2. Running an ALTER TABLE to drop the constraint found above by name.