Files
gatehouse-api/migrations/versions/020_add_zerotier_models.py
T

27 lines
696 B
Python
Raw Normal View History

"""Add ZeroTier / Portal Network models.
Revision ID: 020_zerotier
Revises: 019_audit_varchar
Create Date: 2026-03-19
2026-03-23 17:51:55 +05:45
SUPERSEDED by 023_zerotier_drop_legacy which creates all ZeroTier tables
idempotently (with IF NOT EXISTS / if_not_exists=True). This migration is
kept as a no-op to preserve the Alembic revision chain for databases that
already have '020_zerotier' stamped (e.g. dev environments).
"""
revision = "020_zerotier"
down_revision = "019_audit_varchar"
branch_labels = None
depends_on = None
def upgrade():
2026-03-23 17:51:55 +05:45
# No-op — 023_zerotier_drop_legacy handles everything idempotently.
pass
def downgrade():
2026-03-23 17:51:55 +05:45
# No-op — 023_zerotier_drop_legacy handles rollback.
pass