mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-22 03:52:17 +03:00
create service table
This commit is contained in:
parent
b37429b585
commit
ca6ccd2eb6
1 changed files with 3 additions and 1 deletions
|
@ -54,6 +54,8 @@ class AhenkDbService(object):
|
|||
|
||||
self.check_and_create_table('mail', ['id INTEGER PRIMARY KEY AUTOINCREMENT', 'command TEXT', 'mailstatus INTEGER', 'timestamp TEXT'])
|
||||
|
||||
self.check_and_create_table('service', ['id INTEGER PRIMARY KEY AUTOINCREMENT', 'serviceName TEXT', 'serviceStatus TEXT','timestamp TEXT','task_id INTEGER'])
|
||||
|
||||
|
||||
def get_cols(self, table_name):
|
||||
if table_name == 'agreement':
|
||||
|
|
Loading…
Reference in a new issue