loop/loopdb/sqlc
Slyghtning b988ea8788
loopdb: lowercase protocol_version column in migration 14
Migration 000014_reservation_protocol_version used 'protocol_Version'
(capital V) in the ADD COLUMN / DROP COLUMN statements. Postgres folds
unquoted identifiers to lowercase and SQLite is case-insensitive on
identifier comparison, so the running schema column is
'protocol_version' either way -- but the sqlc-generated Go
(loopdb/sqlc/reservations.sql.go) also uses the lowercase form, so the
file as written was both unusual and inconsistent with its own generated
SQL.

Use 'protocol_version' everywhere. No data migration is required; the
column on disk is unchanged. Pure cosmetic / portability fix.
2026-08-11 15:02:43 +02:00
..
migrations loopdb: lowercase protocol_version column in migration 14 2026-08-11 15:02:43 +02:00
queries loopdb: store reservation prepay invoice 2026-08-11 14:56:59 +02:00
batch.sql.go loopdb: remove unused method ConfirmBatch 2025-06-26 14:01:16 -03:00
db.go loopdb: bump sqlc to 1.25.0 2024-03-20 13:57:11 +01:00
instantout.sql.go sqlc: remove trailing spaces in queries 2024-05-31 12:28:02 -03:00
liquidity_params.sql.go loopdb: bump sqlc to 1.25.0 2024-03-20 13:57:11 +01:00
migration_tracker.sql.go loopdb: add ability to track manual migrations 2024-06-03 14:54:18 +02:00
models.go loopdb: store reservation prepay invoice 2026-08-11 14:56:59 +02:00
querier.go loopdb: persist static loop-in risk decisions 2026-07-12 09:14:33 +02:00
reservations.sql.go loopdb: store reservation prepay invoice 2026-08-11 14:56:59 +02:00
static_address_deposits.sql.go staticaddr: migrate swap hashes to deposits 2025-08-01 11:26:32 +02:00
static_address_loopin.sql.go loopdb: persist static loop-in risk decisions 2026-07-12 09:14:33 +02:00
static_address_withdrawals.sql.go loopdb: withdrawal table and queries 2025-06-03 12:57:10 +02:00
static_addresses.sql.go staticaddr: add initiation height of address 2024-12-12 18:31:10 +01:00
swaps.sql.go loopdb: add asset params to store 2025-01-21 18:26:20 +01:00