Permalink
Browse files

Merge pull request #1 from rassie/patch-1

Create constraints after indexes
  • Loading branch information...
2 parents 4b60f4d + 3eb1a6c commit 8d706326c8c40d35f0e2b778c1e38a5d4569f4d8 @philipsoutham committed May 4, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 mysql2pgsql/lib/converter.py
@@ -57,6 +57,8 @@ def convert(self):
for table in tables:
self.writer.write_indexes(table)
+
+ for table in tables:
self.writer.write_constraints(table)
if self.verbose:

0 comments on commit 8d70632

Please sign in to comment.