mirror of https://github.com/OpenKMIP/PyKMIP.git
Merge pull request #160 from OpenKMIP/feat/use-file-based-backend
Fixing bug with in-memory SQLite storage
This commit is contained in:
commit
21b4731118
|
@ -84,7 +84,7 @@ class KmipEngine(object):
|
||||||
self._cryptography_engine = engine.CryptographyEngine()
|
self._cryptography_engine = engine.CryptographyEngine()
|
||||||
|
|
||||||
self._data_store = sqlalchemy.create_engine(
|
self._data_store = sqlalchemy.create_engine(
|
||||||
'sqlite:///:memory:',
|
'sqlite:////tmp/pykmip.database',
|
||||||
echo=False
|
echo=False
|
||||||
)
|
)
|
||||||
sqltypes.Base.metadata.create_all(self._data_store)
|
sqltypes.Base.metadata.create_all(self._data_store)
|
||||||
|
|
Loading…
Reference in New Issue