diff options
author | jakeogh <github.com@v6y.net> | 2015-06-27 08:40:44 +0000 |
---|---|---|
committer | jakeogh <github.com@v6y.net> | 2015-06-27 08:40:44 +0000 |
commit | f31c288b65281511338c518bdf7fbe78c985af58 (patch) | |
tree | bc78981b9d3da06544571b4447f8054b16f1e714 /lib/sqlalchemy/sql/compiler.py | |
parent | fcb7c784e9479b9bff7de20c41a05bc1aa550ffb (diff) | |
download | sqlalchemy-f31c288b65281511338c518bdf7fbe78c985af58.tar.gz |
add MINVALUE support to Sequence()
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
-rw-r--r-- | lib/sqlalchemy/sql/compiler.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py index e9c3d0efa..b8cf32dff 100644 --- a/lib/sqlalchemy/sql/compiler.py +++ b/lib/sqlalchemy/sql/compiler.py @@ -2299,6 +2299,8 @@ class DDLCompiler(Compiled): text += " INCREMENT BY %d" % create.element.increment if create.element.start is not None: text += " START WITH %d" % create.element.start + if create.element.minvalue is not None: + text += " MINVALUE %d" % create.element.minvalue return text def visit_drop_sequence(self, drop): |