missed new table in create_tables def
All checks were successful
dreamfall/clacksme/pipeline/head This commit looks good
All checks were successful
dreamfall/clacksme/pipeline/head This commit looks good
This commit is contained in:
parent
62b8ff1ab2
commit
afc9214211
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class Services(BaseModel):
|
||||||
enabled = CharField(default=True)
|
enabled = CharField(default=True)
|
||||||
|
|
||||||
def create_tables():
|
def create_tables():
|
||||||
tables = [System, Mailbox, Events, Notifier]
|
tables = [System, Mailbox, Events, Notifier, Services]
|
||||||
with db:
|
with db:
|
||||||
if not db.table_exists(System._meta.table_name):
|
if not db.table_exists(System._meta.table_name):
|
||||||
db.create_tables(tables)
|
db.create_tables(tables)
|
||||||
|
|
Loading…
Reference in a new issue