File tree 2 files changed +2
-3
lines changed
octoprint_PrintJobHistory
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,7 @@ def _upgradeFrom6To7(self):
116
116
# - NEW CostModel
117
117
# - Droping costUnit, because now there is a general plugin-setting
118
118
119
+ # ALTER TABLE "pjh_filamentmodel" DROP COLUMN "spoolCostUnit"; Not working for DB Release < 3.30.0 (offical 3.35.0)
119
120
sql = """
120
121
PRAGMA foreign_keys=off;
121
122
BEGIN TRANSACTION;
@@ -132,8 +133,6 @@ def _upgradeFrom6To7(self):
132
133
"withDefaultSpoolValues" INTEGER,
133
134
FOREIGN KEY ("printJob_id") REFERENCES "pjh_printjobmodel" ("databaseId") ON DELETE CASCADE);
134
135
135
- ALTER TABLE "pjh_filamentmodel" DROP COLUMN "spoolCostUnit";
136
-
137
136
UPDATE 'pjh_pluginmetadatamodel' SET value=7 WHERE key='databaseSchemeVersion';
138
137
COMMIT;
139
138
PRAGMA foreign_keys=on;
Original file line number Diff line number Diff line change 14
14
plugin_name = "Print Job History"
15
15
16
16
# The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module
17
- plugin_version = "1.15.0 "
17
+ plugin_version = "1.15.1 "
18
18
19
19
# The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin
20
20
# module
You can’t perform that action at this time.
0 commit comments