philipsoutham/py-mysql2pgsql — pull request #21 by fvbock (2012-09-13 04:58:17+00:00)
Title: Add handling of referential actions for foreign key constraints.

CASCADE, SET NULL, and NO ACTION are translated as is.
No action defined is - per MySQL documentation actually RESTRICT and thus translated as such.
(SET DEFAULT is not accepted by InnoDB)