This commit is contained in:
2026-04-01 18:31:33 +02:00
parent 6e23e32bb0
commit b5c7c5305a
95 changed files with 9609 additions and 2374 deletions

View File

@@ -0,0 +1,36 @@
"""add_processed_webhook_events
Revision ID: 4603709eb82d
Revises: d1e2f3a4b5c6
Create Date: 2026-03-30 00:30:05.493030
"""
from typing import Sequence, Union
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision: str = '4603709eb82d'
down_revision: Union[str, Sequence[str], None] = 'd1e2f3a4b5c6'
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None
def upgrade() -> None:
"""Upgrade schema."""
# ### commands auto generated by Alembic - please adjust! ###
op.create_table('processed_webhook_events',
sa.Column('stripe_event_id', sa.String(), nullable=False),
sa.Column('processed_at', sa.DateTime(), nullable=False),
sa.PrimaryKeyConstraint('stripe_event_id')
)
# ### end Alembic commands ###
def downgrade() -> None:
"""Downgrade schema."""
# ### commands auto generated by Alembic - please adjust! ###
op.drop_table('processed_webhook_events')
# ### end Alembic commands ###