Add this in your ini file:
[alembic:exclude]
tables = spatial_ref_sys
In env.py
:
import re
sudo su | |
cat << EOF > /etc/apt/preferences | |
Package: * | |
Pin: release n=wheezy | |
Pin-Priority: 900 | |
Package: * | |
Pin: release n=jessie | |
Pin-Priority: 300 |
import os | |
import pytest | |
from alembic.command import upgrade | |
from alembic.config import Config | |
from project.factory import create_app | |
from project.database import db as _db |
Add this in your ini file:
[alembic:exclude]
tables = spatial_ref_sys
In env.py
:
import re