lnbits-legend/lnbits/core
dni ⚡ 815c3e61e4
feat: add created_at and updated_at to wallets and accounts (#2177)
* feat: add `created_at` and `updated_at` to wallets and accounts

the title says it all :)

* fixup!

* nitpicks :)

* fixup!

* sqlite fix

* sqlite compat

* fixup!

* mypy

* revert db py

* motorinas suggestions

* int(time()) proper default values in migration

* uncomment migration

* use now = int(time()) idiom to make code more readable

also this fixes the issue where time() is called multiple times
providing different return values for multiple invocations

---------

Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
2023-12-21 12:37:56 +00:00
..
templates Login polish (#2180) 2023-12-14 15:07:22 +01:00
views feat: remember last active wallet (#2189) 2023-12-21 14:19:58 +02:00
__init__.py [FEAT] Auth, Login, OAuth, create account with username and password #1653 (#2092) 2023-12-12 11:38:19 +01:00
crud.py feat: add created_at and updated_at to wallets and accounts (#2177) 2023-12-21 12:37:56 +00:00
db.py [REFACTOR] core/__init__ to not have circular import issues (#1876) 2023-09-12 11:25:05 +01:00
helpers.py [FEAT] Auth, Login, OAuth, create account with username and password #1653 (#2092) 2023-12-12 11:38:19 +01:00
migrations.py feat: add created_at and updated_at to wallets and accounts (#2177) 2023-12-21 12:37:56 +00:00
models.py feat: add created_at and updated_at to wallets and accounts (#2177) 2023-12-21 12:37:56 +00:00
services.py feat: lnurl library update 2023-12-06 12:55:01 +01:00
tasks.py [FEAT] Auth, Login, OAuth, create account with username and password #1653 (#2092) 2023-12-12 11:38:19 +01:00