# docker exec --user www-data <container> php occ db:add-missing-indices -vvv
Check indices of the share table.
Check indices of the filecache table.
Check indices of the twofactor_providers table.
Check indices of the login_flow_v2 table.
Check indices of the whats_new table.
Check indices of the cards table.
Check indices of the cards_properties table.
Check indices of the calendarobjects_props table.
Check indices of the schedulingobjects table.
Check indices of the oc_properties table.
Done.
# docker exec --user www-data <container> php occ db:add-missing-columns -vvv
Check columns of the comments table.
Done.
db:add-missing-primary-keys failed: Command "db:add-missing-primary-keys" is not defined.
But still there is no column ‘execution_duration’ on table ‘oc_jobs’.
sqlite> .schema oc_jobs
CREATE TABLE oc_jobs (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, class VARCHAR(255) DEFAULT '' NOT NULL COLLATE BINARY, argument VARCHAR(4000) DEFAULT '' NOT NULL COLLATE BINARY, last_run INTEGER DEFAULT 0, last_checked INTEGER DEFAULT 0, reserved_at INTEGER DEFAULT 0);
CREATE INDEX job_class_index ON oc_jobs (class);