Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Title
JsStore.Connection() -> initDb() silently failing to execute in version 4
Description
Previously working code started failing over the weekend after version 4.0.2 was published.

Execution fails to get past the indicated line:
Code snippet:
initialize: async () => {
console.log("initializing PUMC.Persistence");
let getDbSchema = () => {
return {
name: "pumc_db",
tables: [
{
version: 34,
name: "request_logs",
columns : {
"PK" : { primaryKey: true, autoIncrement: true },
"name" : { notNull: true, dataType: "string" },
"timestamp" : { notNull: true, dataType: "date_time" },
"wasSuccessful" : { notNull: true, dataType: "boolean" },
}
},
{
version : 34,
name : "last_server_responses",
columns : {
"name" : { notNull: true, dataType: "string" },
"data" : { notNull: true, dataType: "array" },
}
},
]
};
};
Beta Was this translation helpful? Give feedback.
All reactions