-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #1294 Show subscripton ended_at (cancelled at) date on subscriber…
…s list if subscription has ended
- Loading branch information
1 parent
a0406b8
commit 172fe45
Showing
4 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
migrations/versions/48074e6225c6_add_subscription_stripe_ended_at.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
"""add subscription stripe_ended_at | ||
Revision ID: 48074e6225c6 | ||
Revises: 207556b3039b | ||
Create Date: 2024-02-11 17:21:19.287478 | ||
""" | ||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
|
||
# revision identifiers, used by Alembic. | ||
revision = "48074e6225c6" | ||
down_revision = "207556b3039b" | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade(): | ||
with op.batch_alter_table("subscription", schema=None) as batch_op: | ||
batch_op.add_column(sa.Column("stripe_ended_at", sa.Integer(), nullable=True)) | ||
|
||
|
||
def downgrade(): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters