diff --git a/README.md b/README.md index c59af4e..2d0dd6d 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ cashu info Returns: ```bash -Version: 0.5.1 +Version: 0.5.2 Debug: False Cashu dir: /home/user/.cashu Wallet: wallet diff --git a/cashu/core/settings.py b/cashu/core/settings.py index 1e86a4c..689f85f 100644 --- a/cashu/core/settings.py +++ b/cashu/core/settings.py @@ -53,4 +53,4 @@ LNBITS_ENDPOINT = env.str("LNBITS_ENDPOINT", default=None) LNBITS_KEY = env.str("LNBITS_KEY", default=None) MAX_ORDER = 64 -VERSION = "0.5.1" +VERSION = "0.5.2" diff --git a/cashu/wallet/migrations.py b/cashu/wallet/migrations.py index 2bf9a3a..bdb3c36 100644 --- a/cashu/wallet/migrations.py +++ b/cashu/wallet/migrations.py @@ -107,8 +107,8 @@ async def m005_wallet_keysets(db: Database): await db.execute( f""" CREATE TABLE IF NOT EXISTS keysets ( - id TEXT NOT NULL, - mint_url TEXT NOT NULL, + id TEXT, + mint_url TEXT, valid_from TIMESTAMP DEFAULT {db.timestamp_now}, valid_to TIMESTAMP DEFAULT {db.timestamp_now}, first_seen TIMESTAMP DEFAULT {db.timestamp_now}, diff --git a/pyproject.toml b/pyproject.toml index a57eeb8..23b910d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "cashu" -version = "0.5.1" +version = "0.5.2" description = "Ecash wallet and mint." authors = ["calle "] license = "MIT" diff --git a/setup.py b/setup.py index 001c906..9c17c3a 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ entry_points = {"console_scripts": ["cashu = cashu.wallet.cli:cli"]} setuptools.setup( name="cashu", - version="0.5.1", + version="0.5.2", description="Ecash wallet and mint with Bitcoin Lightning support", long_description=long_description, long_description_content_type="text/markdown",