Merge pull request #160 from OpenKMIP/feat/use-file-based-backend

Fixing bug with in-memory SQLite storage
This commit is contained in:
Peter Hamilton 2016-04-05 14:07:49 -04:00
commit 21b4731118
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ class KmipEngine(object):
self._cryptography_engine = engine.CryptographyEngine()
self._data_store = sqlalchemy.create_engine(
'sqlite:///:memory:',
'sqlite:////tmp/pykmip.database',
echo=False
)
sqltypes.Base.metadata.create_all(self._data_store)