-
Type: Bug
-
Resolution: Fixed
-
Priority: Major
-
Affects Version/s: master
-
Component/s: CLI: pegasus-db-admin
-
None
I had a workflow.db with a missing dbversion table.
the semantics seem to be wrong.
corbusier:.pegasus vahi$ sqlite3 workflow.db
SQLite version 3.8.7.1 2014-10-29 13:59:56
Enter ".help" for usage hints.
sqlite> select * from dbversion;
Above is empty. nothing in the dbversion table.
now when i ran pegasus-db-admin check on the database
corbusier:.pegasus vahi$ pegasus-db-admin check sqlite:////Users/vahi/.pegasus/workflow.db
Created Pegasus database in: sqlite:////Users/vahi/.pegasus/workflow.db
Your database is compatible with version 4.5.0.
sqlite> select * from dbversion;
1|4|1427929900
However, in this case the master workflow table was never updated. it is missing the new column archived !!!