kopia lustrzana https://github.com/glidernet/ogn-python
Create postgis extension again
rodzic
b13064cf73
commit
830d0e47fb
|
@ -7,6 +7,9 @@ class TestBaseDB(unittest.TestCase):
|
||||||
self.app = create_app('testing')
|
self.app = create_app('testing')
|
||||||
self.app_context = self.app.app_context()
|
self.app_context = self.app.app_context()
|
||||||
self.app_context.push()
|
self.app_context.push()
|
||||||
|
|
||||||
|
db.session.execute("CREATE EXTENSION IF NOT EXISTS postgis;")
|
||||||
|
db.session.commit()
|
||||||
db.create_all()
|
db.create_all()
|
||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
|
|
Ładowanie…
Reference in New Issue