summaryrefslogtreecommitdiff
path: root/docs/quick_tour/sqla_demo
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2017-10-28 09:46:52 -0700
committerSteve Piercy <web@stevepiercy.com>2017-10-28 09:46:52 -0700
commitf9ae5ad563d74aced30b035798ecebdab70b3134 (patch)
tree83c6b787dfb7d8be1fa305b15b065f2484ffa56a /docs/quick_tour/sqla_demo
parenta5d3d2924dc5e43afe44fa71da1a71627ff3d10c (diff)
downloadpyramid-f9ae5ad563d74aced30b035798ecebdab70b3134.tar.gz
pyramid-f9ae5ad563d74aced30b035798ecebdab70b3134.tar.bz2
pyramid-f9ae5ad563d74aced30b035798ecebdab70b3134.zip
Synch source files with cookiecutter
Diffstat (limited to 'docs/quick_tour/sqla_demo')
-rw-r--r--docs/quick_tour/sqla_demo/sqla_demo/models/meta.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/quick_tour/sqla_demo/sqla_demo/models/meta.py b/docs/quick_tour/sqla_demo/sqla_demo/models/meta.py
index 0682247b5..02285b3ff 100644
--- a/docs/quick_tour/sqla_demo/sqla_demo/models/meta.py
+++ b/docs/quick_tour/sqla_demo/sqla_demo/models/meta.py
@@ -5,7 +5,7 @@ from sqlalchemy.schema import MetaData
# providers will autogenerate vastly different names making migrations more
# difficult. See: http://alembic.zzzcomputing.com/en/latest/naming.html
NAMING_CONVENTION = {
- "ix": 'ix_%(column_0_label)s',
+ "ix": "ix_%(column_0_label)s",
"uq": "uq_%(table_name)s_%(column_0_name)s",
"ck": "ck_%(table_name)s_%(constraint_name)s",
"fk": "fk_%(table_name)s_%(column_0_name)s_%(referred_table_name)s",