Add this in your ini file:
[alembic:exclude]
tables = spatial_ref_sys
In env.py
:
def exclude_tables_from_config(config_):
tables_ = config_.get("tables", None)
if tables_ is not None:
import os | |
import tempfile | |
import subprocess | |
dependencies = """ | |
flake8 | |
black | |
""".strip() | |
# create temporary directory for venv |
#!/usr/bin/env python3 | |
import itertools | |
import os | |
import random | |
import aio_pika | |
import asyncio | |
import logging | |
import websockets |
Add this in your ini file:
[alembic:exclude]
tables = spatial_ref_sys
In env.py
:
def exclude_tables_from_config(config_):
tables_ = config_.get("tables", None)
if tables_ is not None: