2018-05-22 14:19:51 +01:00
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
Revision ID: 0193_add_ft_billing_timestamps
|
|
|
|
|
Revises: 0192_drop_provider_statistics
|
|
|
|
|
Create Date: 2018-05-22 10:23:21.937262
|
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
import sqlalchemy as sa
|
2023-12-08 21:43:52 -05:00
|
|
|
from alembic import op
|
2018-05-22 14:19:51 +01:00
|
|
|
|
2023-08-29 14:54:30 -07:00
|
|
|
revision = "0193_add_ft_billing_timestamps"
|
|
|
|
|
down_revision = "0192_drop_provider_statistics"
|
2018-05-22 14:19:51 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def upgrade():
|
2023-08-29 14:54:30 -07:00
|
|
|
op.add_column("ft_billing", sa.Column("updated_at", sa.DateTime(), nullable=True))
|
|
|
|
|
op.add_column("ft_billing", sa.Column("created_at", sa.DateTime(), nullable=True))
|
2018-05-22 14:19:51 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def downgrade():
|
2023-08-29 14:54:30 -07:00
|
|
|
op.drop_column("ft_billing", "created_at")
|
|
|
|
|
op.drop_column("ft_billing", "updated_at")
|