mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-23 05:35:13 +03:00
commit between migrations
Later migrations may require tables set up by older ones.
This commit is contained in:
parent
7fd871a74d
commit
36c624ec71
@ -44,6 +44,7 @@ def migrate(config, paths):
|
||||
'{0[0]}.{0[1]}.{0[2]}-{0[3]}'.format(version))
|
||||
kwargs = dict(conn=conn, config=config, paths=paths)
|
||||
func(**kwargs)
|
||||
conn.commit()
|
||||
has_run_migration = True
|
||||
|
||||
if has_run_migration:
|
||||
|
Loading…
Reference in New Issue
Block a user