<<

NAME

fix_mysql_constraints.pl

SYNOPSIS

  fix_mysql_constraints.pl --help
  fix_mysql_constraints.pl
  fix_mysql_constraints.pl --doit

DESCRIPTION

See bug #8915

Alter tables to add missing constraints. Prior to altering tables, it may be necessary to alter tables storage engine from MyISAM to InnoDB.

--help

Prints this help

--doit

Alter tables effectively, otherwise just display the ALTER TABLE directives.

--alterengine

Prior to add missing constraints, alter table engine to InnoDB.

<<