]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Fix regex 11834/head
authorHarutaka Kawamura <hkawamura0130@gmail.com>
Wed, 4 Sep 2024 09:52:27 +0000 (18:52 +0900)
committerGitHub <noreply@github.com>
Wed, 4 Sep 2024 09:52:27 +0000 (18:52 +0900)
lib/sqlalchemy/dialects/sqlite/base.py

index cf8f16966bae64f6aaef9c41aec50e719ed796eb..5e32e2fbb06ef166368184a3af9c84e1775231ce 100644 (file)
@@ -2674,7 +2674,7 @@ class SQLiteDialect(default.DefaultDialect):
         # (1) Matches end of check constraint with trailing comma,
         # optional whitespace (including newline), and the beginning
         # of the next constraint (either named or unnamed).
-        ,[\s\n]*(?=CONSTRAINT|CHECK)
+        ,[\s\n]*(?=CONSTRAINT|CHECK|UNIQUE|FOREIGN|PRIMARY)
         # OR operator, seperating (1) & (2)
         |
         # (2) Matches end parenthesis of table definition, seperated by