Commit 210046a
committed
Fix: Allow Multiple Select migration to work with MariaDB
MariaDB/MySQL do not support the `||` operator for string concatenation
(they treat it as a logical "or"). This commit converts the syntax to
ActiveRecord and uses `CONCAT` for MariaDB and MySQL. Apparently, SQlite
does not support `CONCAT`, and needs the pipes.1 parent ed95633 commit 210046a
1 file changed
Lines changed: 12 additions & 5 deletions
Lines changed: 12 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
9 | 16 | | |
10 | 17 | | |
11 | 18 | | |
0 commit comments