This repository was archived by the owner on Apr 3, 2019. It is now read-only.
Commit f01b520
committed
chore(db): use mariadb-friendly drop index syntax
Sometimes we get self-hosters or contributors showing up who want to use
MariaDB. Even though the official line is that we don't support it, it
happens often enough that we may as well just fix the places where we're
incompatible. Afaik, that is just the `DROP INDEX` syntax in a couple of
places.
Note there are also occurrences in the reverse migrations, which I
haven't bothered to fix. Seeing as they're not invoked in normal running
and need to be manually uncommented before running anyway, it seems
reasonable for them to be manually edited if anyone needs to do so.1 parent b033726 commit f01b520
2 files changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
100 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments