Skip to content

Commit

Permalink
[#3929] Fix for docker install. When asking sqlalchemy to create the …
Browse files Browse the repository at this point in the history
…"state" table, we now specify the "public" (default) namespace so that sqlalchemy doesnt wrongly skip it due to seeing the same named table (in the tiger namespace) already created by mdillon/postgis image.
  • Loading branch information
David Read committed Feb 13, 2018
1 parent 555efa5 commit d1b9aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/migration/versions/001_add_existing_tables.py
Expand Up @@ -5,7 +5,7 @@


def upgrade(migrate_engine):
meta = MetaData()
meta = MetaData(schema='public')

state = Table('state', meta,
Column('id', Integer() , primary_key=True, nullable=False),
Expand Down

0 comments on commit d1b9aa8

Please sign in to comment.