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 /test/sql | |
| parent | fcb7c784e9479b9bff7de20c41a05bc1aa550ffb (diff) | |
| download | sqlalchemy-f31c288b65281511338c518bdf7fbe78c985af58.tar.gz | |
add MINVALUE support to Sequence()
Diffstat (limited to 'test/sql')
| -rw-r--r-- | test/sql/test_defaults.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/sql/test_defaults.py b/test/sql/test_defaults.py index c154daa22..9aebfc010 100644 --- a/test/sql/test_defaults.py +++ b/test/sql/test_defaults.py @@ -793,6 +793,11 @@ class SequenceDDLTest(fixtures.TestBase, testing.AssertsCompiledSQL): ) self.assert_compile( + CreateSequence(Sequence('foo_seq', increment=2, start=0, minvalue=0)), + "CREATE SEQUENCE foo_seq INCREMENT BY 2 START WITH 0 MINVALUE 0", + ) + + self.assert_compile( DropSequence(Sequence('foo_seq')), "DROP SEQUENCE foo_seq", ) |
