mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
db6abda3a4
Needed to change a couple of migrations. The changes are mostly innocuous: - changing BLOB to TEXT for short_channel_ids which is the correct type anyway, and sqlite3 treats them the same anyway. - Use `int` for version since the byte representation is checked by postgres. - Change anything that is INT, but will be bound to u64 to BIGINT (again postgres checks these more carefully than sqlite3). Two migrations were replaced with dummy values, since they are buried deep enough, and I found no portable way of expressing `strftime()` and `INSERT OR IGNORE`. Signed-off-by: Christian Decker <decker.christian@gmail.com> |
||
---|---|---|
.. | ||
test | ||
.gitignore | ||
db_common.h | ||
db_postgres.c | ||
db_sqlite3.c | ||
db.c | ||
db.h | ||
invoices.c | ||
invoices.h | ||
Makefile | ||
txfilter.c | ||
txfilter.h | ||
wallet.c | ||
wallet.h | ||
walletrpc.c | ||
walletrpc.h |