mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-25 22:52:24 +03:00
expiration date column added
This commit is contained in:
parent
cf0242363f
commit
407c3c4205
1 changed files with 1 additions and 2 deletions
|
@ -22,7 +22,6 @@ class AhenkDbService(object):
|
||||||
|
|
||||||
self.lock = threading.Lock()
|
self.lock = threading.Lock()
|
||||||
|
|
||||||
|
|
||||||
# TODO get columns anywhere
|
# TODO get columns anywhere
|
||||||
# TODO scheduler db init get here
|
# TODO scheduler db init get here
|
||||||
|
|
||||||
|
@ -34,7 +33,7 @@ class AhenkDbService(object):
|
||||||
'file_server TEXT'])
|
'file_server TEXT'])
|
||||||
self.check_and_create_table('policy',
|
self.check_and_create_table('policy',
|
||||||
['id INTEGER PRIMARY KEY AUTOINCREMENT', 'type TEXT', 'version TEXT', 'name TEXT',
|
['id INTEGER PRIMARY KEY AUTOINCREMENT', 'type TEXT', 'version TEXT', 'name TEXT',
|
||||||
'execution_id TEXT'])
|
'execution_id TEXT','expiration_date TEXT'])
|
||||||
self.check_and_create_table('profile', ['id INTEGER', 'create_date TEXT', 'label TEXT', 'description TEXT',
|
self.check_and_create_table('profile', ['id INTEGER', 'create_date TEXT', 'label TEXT', 'description TEXT',
|
||||||
'overridable INTEGER', 'active TEXT', 'deleted TEXT',
|
'overridable INTEGER', 'active TEXT', 'deleted TEXT',
|
||||||
'profile_data TEXT', 'modify_date TEXT', 'plugin TEXT'])
|
'profile_data TEXT', 'modify_date TEXT', 'plugin TEXT'])
|
||||||
|
|
Loading…
Reference in a new issue