basic invoice listeners.
This commit is contained in:
@@ -14,3 +14,21 @@ def m001_initial(db):
|
||||
);
|
||||
"""
|
||||
)
|
||||
|
||||
|
||||
# def m002_webhooks_and_success_actions(db):
|
||||
# """
|
||||
# Webhooks and success actions.
|
||||
# """
|
||||
# db.execute("ALTER TABLE pay_links ADD COLUMN webhook_url TEXT;")
|
||||
# db.execute("ALTER TABLE pay_links ADD COLUMN success_text TEXT;")
|
||||
# db.execute("ALTER TABLE pay_links ADD COLUMN success_url TEXT;")
|
||||
# db.execute(
|
||||
# """
|
||||
# CREATE TABLE invoices (
|
||||
# payment_hash PRIMARY KEY,
|
||||
# link_id INTEGER NOT NULL REFERENCES pay_links (id),
|
||||
# webhook_sent BOOLEAN NOT NULL DEFAULT false
|
||||
# );
|
||||
# """
|
||||
# )
|
||||
|
||||
Reference in New Issue
Block a user