WIP: drop table spatial_ref_sys when drop extension postgis

This commit is contained in:
Taro Matsuzawa 2021-01-06 20:45:15 +09:00
parent 3d82e761ab
commit c46936a5e7
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ def _create_postgis_extension():
def _drop_postgis_extension():
conn = Session.connection()
conn.execute("drop extension postgis;")
conn.execute("drop table spatial_ref_sys;")
Session.commit()