Skip to content
Snippets Groups Projects
Unverified Commit 494199cc authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

Upgrade the database schema to include a place to store the counter

parent c32a1023
No related branches found
No related tags found
1 merge request!130Add counter to database and Python representation
...@@ -131,4 +131,11 @@ _UPGRADES = { ...@@ -131,4 +131,11 @@ _UPGRADES = {
ALTER TABLE [vouchers] ADD COLUMN [public-key] text ALTER TABLE [vouchers] ADD COLUMN [public-key] text
""", """,
], ],
2: [
"""
-- Keep track of progress through redemption of each voucher.
ALTER TABLE [vouchers] ADD COLUMN [counter] integer
""",
],
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment