diff options
author | Gabriel <g2p.code+sqla@gmail.com> | 2011-07-05 19:57:27 +0200 |
---|---|---|
committer | Gabriel <g2p.code+sqla@gmail.com> | 2011-07-05 19:57:27 +0200 |
commit | 15f571d2965041827a60226b849b553bd9a14ee2 (patch) | |
tree | b3d8107bc593c420ccd1e86c3209959a9ad94535 | |
parent | 15911e6bfe40cc6511de2c1bf386f696504f42eb (diff) | |
download | sqalchemy-migrate-15f571d2965041827a60226b849b553bd9a14ee2.tar.gz |
Put constraints (positional) before args (keywords).
-rw-r--r-- | migrate/versioning/genmodel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/migrate/versioning/genmodel.py b/migrate/versioning/genmodel.py index cfe9996..06d3175 100644 --- a/migrate/versioning/genmodel.py +++ b/migrate/versioning/genmodel.py @@ -88,7 +88,7 @@ class ModelGenerator(object): data = { 'name': name, - 'commonStuff': ', '.join([type_repr] + args + constraints), + 'commonStuff': ', '.join([type_repr] + constraints + args), } if self.declarative: |