Fix integrity error, add unique index and remove aoid from PK

This commit is contained in:
Jack Stdin
2016-01-13 00:22:13 +03:00
parent 3db2e6a75c
commit 3aeb00d82a
3 changed files with 4 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ def main():
help="Create/update DB from source. Value: \"http\" or absolute path to folder")
options, arguments = p.parse_args()
if options.database and options.source:
if options.database:
# create new database
if options.database == "create":
create_base(options.source)