Commit 1e71d49
authored
fix(Dr. Rai Report): Titration Query Updater (#5699)
**Story card:**
[sc-16748](https://app.shortcut.com/simpledotorg/story/16748/fix-titrationdata-populator)
## Because
The original implementation assumed a more recent version of PostgreSQL.
What we use in Simple is still behind
## This addresses
Changing the SQL syntax to match the version of PostgreSQL used in
Simple
## Test instructions
run the rake task1 parent 439ed1c commit 1e71d49
File tree
3 files changed
+32
-38
lines changed- app/queries/dr_rai
- db
- migrate
3 files changed
+32
-38
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 3 | + | |
8 | 4 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 5 | + | |
| 6 | + | |
34 | 7 | | |
35 | 8 | | |
36 | | - | |
37 | | - | |
38 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
39 | 12 | | |
40 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
41 | 21 | | |
42 | 22 | | |
43 | 23 | | |
44 | 24 | | |
45 | | - | |
| 25 | + | |
46 | 26 | | |
47 | 27 | | |
48 | 28 | | |
| |||
88 | 68 | | |
89 | 69 | | |
90 | 70 | | |
91 | | - | |
| 71 | + | |
92 | 72 | | |
93 | 73 | | |
94 | 74 | | |
95 | 75 | | |
96 | | - | |
| 76 | + | |
| 77 | + | |
97 | 78 | | |
98 | 79 | | |
99 | 80 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7081 | 7081 | | |
7082 | 7082 | | |
7083 | 7083 | | |
| 7084 | + | |
| 7085 | + | |
| 7086 | + | |
| 7087 | + | |
| 7088 | + | |
| 7089 | + | |
| 7090 | + | |
7084 | 7091 | | |
7085 | 7092 | | |
7086 | 7093 | | |
| |||
8778 | 8785 | | |
8779 | 8786 | | |
8780 | 8787 | | |
8781 | | - | |
| 8788 | + | |
| 8789 | + | |
8782 | 8790 | | |
8783 | 8791 | | |
0 commit comments