I tried to install the Scheduler module but it did not install properly because we somehow did not have code for another custom module that the database thinks was installed. I got the code for the missing module.
My scheduler module is completely borked, as is my database. I cannot uninstall the module because there is a missing field in the database.
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S22]: Column
not found: 1054 Unknown column 'publish_on' in 'where clause': SELECT
1 AS "expression" FROM "node_field_data" "t" WHERE "publish_on" IS NOT
NULL LIMIT 1 OFFSET 0; Array ( ) in
Drupal\Core\Entity\Sql\SqlContentEntityStorage->countFieldData() (line
1777 of
/code/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
I tried to run update.php but I just get the following message with no way to actually run the update for the scheduler module.
Schema information for module scheduler was missing from the database.
You should manually review the module updates and your database to
check if any updates have been skipped up to, and including,
scheduler_update_8102().
How can I manually review the module updates and run them to get my database in sync, so I can at least use or uninstall the module?
Thanks!