gotelem/internal/db/migrations
saji 68347e8b95
Some checks failed
Go / build (1.21) (push) Failing after 1m6s
Go / build (1.22) (push) Failing after 1m6s
rework DB getters
abandon generic query frag for common structures
Instead of using the QueryFrag struct, which was too generic to be
generally useful, we have moved to a BusEventFilter type, which
contains things we may filter on when we're searching for bus events.
At the moment it just contains names, and start/stop times.
Then in each function we can accept this filter struct and convert
it to fit the query.

We also support general modifiers, and currently have one implemented:
the LimitOffsetModifier. This adds a LIMIT and OFFSET clause to any
statement. these are all applied at the end and receive a stringbuilder
which may prevent certain operations from being structured.
We need to work on this one more, potentially abandoning.
2024-03-01 16:25:33 -06:00
..
1_initial_down.sql wip: db migration 2023-07-05 21:16:26 -05:00
1_initial_up.sql rework DB getters 2024-03-01 16:25:33 -06:00
2_addl_tables_down.sql wip: db migration 2023-07-05 21:16:26 -05:00
2_addl_tables_up.sql wip: db migration 2023-07-05 21:16:26 -05:00
3_weather_down.sql db migration fixes 2023-07-06 15:21:41 -05:00
3_weather_up.sql db migration fixes 2023-07-06 15:21:41 -05:00
4_import_table_down.sql wip: add openmct-type historical api 2024-02-17 19:26:13 -06:00
4_import_table_up.sql wip: add openmct-type historical api 2024-02-17 19:26:13 -06:00
5_add_packets_down.sql fix tests, add packets stuff for db 2024-02-28 01:07:36 -06:00
5_add_packets_up.sql didn't fix the actual error lol 2024-02-28 01:08:28 -06:00