Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding 3 new features to extension #29

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Update migrations.py
leesalminen authored Feb 21, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 21ace1b98c6cbb110c60ce52b7f58bdc8241efed
4 changes: 2 additions & 2 deletions migrations.py
Original file line number Diff line number Diff line change
@@ -59,7 +59,7 @@ async def m001_initial(db):
async def m002_add_features(db):
await db.execute(
"""
ALTER TABLE boltcards.cards ADD expiration_date DATE NULL;
ALTER TABLE boltcards.cards ADD expiration_date TEXT NULL;
"""
)

@@ -82,4 +82,4 @@ async def m005_add_features(db):
"""
ALTER TABLE boltcards.cards ADD limit_type TEXT NOT NULL DEFAULT 'sats';
"""
)
)