We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c48983 commit 4984858Copy full SHA for 4984858
scripts-dev/check_schema_delta.py
@@ -12,7 +12,7 @@
12
13
SCHEMA_FILE_REGEX = re.compile(r"^synapse/storage/schema/(.*)/delta/(.*)/(.*)$")
14
INDEX_CREATION_REGEX = re.compile(
15
- r"CREATE .*INDEX .*ON ([a-z_0-9]+)", flags=re.IGNORECASE
+ r"CREATE .*INDEX .*ON ([a-z_0-9]+)\s+\(", flags=re.IGNORECASE
16
)
17
INDEX_DELETION_REGEX = re.compile(r"DROP .*INDEX ([a-z_0-9]+)", flags=re.IGNORECASE)
18
TABLE_CREATION_REGEX = re.compile(
0 commit comments