Due to a forced migration to new hardware/os on webfaction, I just recently had to upgrade from 2.5.1 to 2.14.6.
In the process I have managed to get myself into a state where the scheduler schema is wrong. (I'm using postgresql)
I get the following error:
ProgrammingError: ('ERROR', '42703', 'column "prevent_drift" of relation "scheduler_task" does not exist')
This is probably my fault as in my haste to get everything up and live again I did a fake_migrate_all=True (the app was crashing because it said the session table already existed.)
I have all my application tables prefixed with my app name for migration purposes:
runestone_my_table.table. for example. however the scheduler and the session tables are still getting the default:
033e652b5c024094757cfc1050e7ecda_scheduler_run.table
033e652b5c024094757cfc1050e7ecda_scheduler_task.table
033e652b5c024094757cfc1050e7ecda_scheduler_worker.table
409096731cda32e62dcf6bbed574f3d5_web2py_session_runestone.table
Everything except my scheduler processes is back on line. Is there any way to make the scheduler update its schema given the state I am in??
Thanks
Brad