Allow keyvalue table creation before json_id present
This commit is contained in:
parent
14f10d7d10
commit
7baeb8e10f
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ class Db(object):
|
|||
["keyvalue_id", "INTEGER PRIMARY KEY AUTOINCREMENT"],
|
||||
["key", "TEXT"],
|
||||
["value", "INTEGER"],
|
||||
["json_id", "INTEGER REFERENCES json (json_id)"],
|
||||
["json_id", "INTEGER"],
|
||||
], [
|
||||
"CREATE UNIQUE INDEX key_id ON keyvalue(json_id, key)"
|
||||
], version=self.schema["version"])
|
||||
|
|
Loading…
Reference in a new issue