fix schema and primary key

* version is an additional primary key so we need to indicate that
* schema no longer relies on Template model, and uses nested user
This commit is contained in:
Leo Hemsted
2016-08-08 16:57:39 +01:00
parent 049514d4b2
commit c820938ced
5 changed files with 18 additions and 19 deletions

View File

@@ -29,6 +29,7 @@ from app.models import (
VerifyCode,
ApiKey,
Template,
TemplateHistory,
Job,
Notification,
NotificationHistory,