- from alembic import op
- from zhifu.modules.notifications.models import Notification
- revision = "0018_notifications"
- down_revision = "0017_storefront"
- branch_labels = None
- depends_on = None
- def upgrade():
- Notification.__table__.create(op.get_bind())
- def downgrade():
- Notification.__table__.drop(op.get_bind())
|