Commit c0a0905
authored
dbmate migration running and testing tool (#1316)
* feat: basic running of dbmate migrations from tool
* feat: a nix flake app tool to run dbmate migrations and produce
schema.slq files
* feat: test against schema.sql per mjr vrs + tool to generate
* chore: pin at development branch version of tool
* docs: update docs with usage info
* fix: tmp use this working branch for flakeurl
* chore: cleanup of test and dbmage migration tool
* chore: build this version
* chore: extra-conf
* chore: reinstall true
* chore: test no longer needs self-hosted runner, can use ephemeral
* chore: correct format of runner
* chore: not longer need sudo
* chore: trying to get the action to use our cache
* chore: conf 2nd invocation
* chore: rm var
* chore: nl
* chore: cleanup and remove unnecessary changes
* fix: make sure to run sql for pg-stat-extensions and pg-bouncer1 parent 1bc4749 commit c0a0905
File tree
6 files changed
+369
-92
lines changed- .github/workflows
- migrations
- nix/tools
6 files changed
+369
-92
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| |||
30 | 34 | | |
31 | 35 | | |
32 | 36 | | |
33 | | - | |
| 37 | + | |
34 | 38 | | |
35 | | - | |
| 39 | + | |
36 | 40 | | |
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
43 | | - | |
| 47 | + | |
44 | 48 | | |
45 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
46 | 55 | | |
47 | 56 | | |
48 | 57 | | |
| |||
54 | 63 | | |
55 | 64 | | |
56 | 65 | | |
57 | | - | |
| 66 | + | |
58 | 67 | | |
59 | 68 | | |
60 | 69 | | |
| |||
67 | 76 | | |
68 | 77 | | |
69 | 78 | | |
70 | | - | |
| 79 | + | |
71 | 80 | | |
72 | 81 | | |
73 | 82 | | |
74 | 83 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
| 84 | + | |
157 | 85 | | |
158 | 86 | | |
159 | | - | |
| 87 | + | |
| 88 | + | |
160 | 89 | | |
161 | 90 | | |
162 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
530 | 530 | | |
531 | 531 | | |
532 | 532 | | |
533 | | - | |
| 533 | + | |
534 | 534 | | |
535 | 535 | | |
536 | 536 | | |
| |||
539 | 539 | | |
540 | 540 | | |
541 | 541 | | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
542 | 575 | | |
543 | 576 | | |
| 577 | + | |
544 | 578 | | |
545 | 579 | | |
546 | 580 | | |
| |||
654 | 688 | | |
655 | 689 | | |
656 | 690 | | |
657 | | - | |
| 691 | + | |
658 | 692 | | |
659 | 693 | | |
| 694 | + | |
| 695 | + | |
660 | 696 | | |
661 | 697 | | |
662 | 698 | | |
| |||
695 | 731 | | |
696 | 732 | | |
697 | 733 | | |
| 734 | + | |
698 | 735 | | |
699 | 736 | | |
700 | 737 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 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 | + | |
1 | 34 | | |
2 | 35 | | |
3 | 36 | | |
| |||
9 | 42 | | |
10 | 43 | | |
11 | 44 | | |
| 45 | + | |
| 46 | + | |
12 | 47 | | |
13 | 48 | | |
14 | 49 | | |
| |||
20 | 55 | | |
21 | 56 | | |
22 | 57 | | |
23 | | - | |
| 58 | + | |
24 | 59 | | |
25 | 60 | | |
26 | 61 | | |
| 62 | + | |
| 63 | + | |
27 | 64 | | |
28 | 65 | | |
29 | 66 | | |
| |||
0 commit comments