Commit b0e9ef9
authored
Migrate to PostgreSQL (#284)
* Get started on implementing mysql instead of using the REST api
* Use postresql instead & yeet custom command interface
* Install liquibase
* Add changelog file
* Fill out with full guild setting table
* Add custom commands to changelog
* Add config support for psql
* Bot can now boot from psql
* Add a few more guild setting methods
* re-use connection for same operations
* Add purging of guild settings
* Add updating of guild settings
* Load patrons
* Linter
* Aa
* When you duplicate the same entry causing you to rewrite everything
* Creating of custom commands
* Deleting custom commands
* Lint
* Updating custom commands
* Adding to and clearing the blacklist
* Finish patron system
* Creating of temp bans
* Insert warnings and mutes
* Fetching warnings
* Code for purging bans and mutes
* Ban bypasses
* Vc autorole
* Make vc autoroles work
* Tags :)
* Inserting of reminders
* Listing of reminders
* SHowing and listing reminders
* Add setting warn actions
* Change all return types to futures
* Convert postgres database engine
* Convert web database engine
* FUck sqlite
* FIx codebase
* CLeanup
* Lint code a bit more
* Rename adapter to database
* Better errors
* Don't store stuff tha's not needed
* Add timers for psql
* lint1 parent 6e633fb commit b0e9ef9
File tree
66 files changed
+2440
-2632
lines changed- .idea
- src/main
- java/ml/duncte123/skybot
- commands
- essentials
- fun
- guild
- mod
- owner
- settings
- database
- listeners
- objects
- command
- custom
- config
- utils
- kotlin/ml/duncte123/skybot
- adapters
- commands
- admin
- essentials
- fun
- mod
- music
- uncategorized
- utils
- database
- extensions
- objects/api
- utils
- web/handlers
- resources
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
66 files changed
+2440
-2632
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
33 | 36 | | |
34 | 37 | | |
35 | | - | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | 65 | | |
69 | 66 | | |
70 | 67 | | |
| |||
106 | 103 | | |
107 | 104 | | |
108 | 105 | | |
109 | | - | |
110 | | - | |
111 | 106 | | |
112 | 107 | | |
113 | 108 | | |
| |||
153 | 148 | | |
154 | 149 | | |
155 | 150 | | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
160 | 155 | | |
161 | 156 | | |
162 | 157 | | |
| |||
250 | 245 | | |
251 | 246 | | |
252 | 247 | | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | 248 | | |
262 | 249 | | |
263 | 250 | | |
264 | 251 | | |
265 | 252 | | |
266 | 253 | | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | 254 | | |
280 | 255 | | |
281 | 256 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
| 47 | + | |
| 48 | + | |
49 | 49 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| |||
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 59 | + | |
64 | 60 | | |
65 | 61 | | |
66 | 62 | | |
| |||
562 | 558 | | |
563 | 559 | | |
564 | 560 | | |
565 | | - | |
566 | | - | |
567 | | - | |
568 | | - | |
569 | | - | |
570 | | - | |
571 | | - | |
572 | | - | |
573 | | - | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
574 | 566 | | |
575 | 567 | | |
576 | 568 | | |
577 | | - | |
| 569 | + | |
578 | 570 | | |
579 | 571 | | |
580 | | - | |
| 572 | + | |
581 | 573 | | |
582 | 574 | | |
583 | 575 | | |
584 | | - | |
| 576 | + | |
585 | 577 | | |
586 | 578 | | |
587 | 579 | | |
588 | 580 | | |
589 | | - | |
590 | | - | |
591 | | - | |
| 581 | + | |
| 582 | + | |
592 | 583 | | |
593 | | - | |
594 | | - | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
595 | 592 | | |
596 | 593 | | |
597 | 594 | | |
598 | 595 | | |
599 | | - | |
| 596 | + | |
600 | 597 | | |
601 | 598 | | |
602 | | - | |
603 | | - | |
604 | | - | |
605 | | - | |
606 | | - | |
| 599 | + | |
| 600 | + | |
607 | 601 | | |
608 | | - | |
609 | | - | |
610 | | - | |
611 | | - | |
612 | | - | |
| 602 | + | |
| 603 | + | |
613 | 604 | | |
614 | 605 | | |
615 | | - | |
| 606 | + | |
616 | 607 | | |
617 | | - | |
| 608 | + | |
618 | 609 | | |
619 | 610 | | |
620 | 611 | | |
| |||
630 | 621 | | |
631 | 622 | | |
632 | 623 | | |
633 | | - | |
| 624 | + | |
634 | 625 | | |
635 | 626 | | |
636 | 627 | | |
| |||
650 | 641 | | |
651 | 642 | | |
652 | 643 | | |
653 | | - | |
654 | | - | |
655 | | - | |
| 644 | + | |
656 | 645 | | |
657 | 646 | | |
658 | 647 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| |||
70 | 69 | | |
71 | 70 | | |
72 | 71 | | |
73 | | - | |
74 | 72 | | |
75 | 73 | | |
76 | 74 | | |
77 | 75 | | |
78 | | - | |
79 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
80 | 82 | | |
81 | | - | |
82 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
83 | 86 | | |
84 | 87 | | |
85 | 88 | | |
| |||
89 | 92 | | |
90 | 93 | | |
91 | 94 | | |
| 95 | + | |
92 | 96 | | |
93 | 97 | | |
94 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | | - | |
34 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | 46 | | |
48 | | - | |
49 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
70 | | - | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | 77 | | |
83 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
84 | 81 | | |
85 | 82 | | |
86 | 83 | | |
| |||
162 | 159 | | |
163 | 160 | | |
164 | 161 | | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | 162 | | |
170 | 163 | | |
171 | 164 | | |
| |||
182 | 175 | | |
183 | 176 | | |
184 | 177 | | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
192 | 186 | | |
193 | 187 | | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | 188 | | |
202 | | - | |
| 189 | + | |
203 | 190 | | |
204 | 191 | | |
0 commit comments