mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-14 12:43:03 +02:00
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. |
||
|---|---|---|
| .. | ||
| migrations | ||
| queries | ||
| batch.sql.go | ||
| db.go | ||
| instantout.sql.go | ||
| liquidity_params.sql.go | ||
| migration_tracker.sql.go | ||
| models.go | ||
| querier.go | ||
| reservations.sql.go | ||
| static_address_deposits.sql.go | ||
| static_address_loopin.sql.go | ||
| static_address_withdrawals.sql.go | ||
| static_addresses.sql.go | ||
| swaps.sql.go | ||