WIP: drop table spatial_ref_sys when drop extension postgis
This commit is contained in:
parent
3d82e761ab
commit
c46936a5e7
|
@ -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()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue