diff --git a/wg_dashboard_backend/migrations/versions/006_create_v6_subnet.py b/wg_dashboard_backend/migrations/versions/006_create_v6_subnet.py index a17ff63..6c9c7a9 100644 --- a/wg_dashboard_backend/migrations/versions/006_create_v6_subnet.py +++ b/wg_dashboard_backend/migrations/versions/006_create_v6_subnet.py @@ -6,7 +6,7 @@ def upgrade(migrate_engine): try: meta = MetaData(bind=migrate_engine) peer = Table('server', meta, autoload=True) - v6_subnet = Column('v6_subnet', INTEGER) + v6_subnet = Column('v6_subnet', INTEGER, nullable=True) v6_subnet.create(peer) except: pass