core: process ERR response to async command (#1061)

This commit is contained in:
JRoberts
2022-09-16 19:30:02 +04:00
committed by GitHub
parent d5b9f4014e
commit e8c14896aa
5 changed files with 39 additions and 13 deletions
+2 -1
View File
@@ -403,7 +403,7 @@ CREATE INDEX idx_chat_items_contacts ON chat_items(
chat_item_id
);
CREATE TABLE commands(
command_id INTEGER PRIMARY KEY, -- used as ACorrId
command_id INTEGER PRIMARY KEY AUTOINCREMENT, -- used as ACorrId
connection_id INTEGER REFERENCES connections ON DELETE CASCADE,
command_function TEXT NOT NULL,
command_status TEXT NOT NULL,
@@ -411,3 +411,4 @@ CREATE TABLE commands(
created_at TEXT NOT NULL DEFAULT(datetime('now')),
updated_at TEXT NOT NULL DEFAULT(datetime('now'))
);
CREATE TABLE sqlite_sequence(name,seq);