HotFix Deploy

sortierung
Samuel Zielke 1 year ago
parent b63092ab11
commit 223a33310e

@ -22,24 +22,24 @@ function initDB() {
keyPath: 'id', keyPath: 'id',
autoIncrement: true, autoIncrement: true,
}); });
// Spalten definieren
store.createIndex('createdate', 'createdate', { unique: false });
store.createIndex('date', 'date', { unique: false });
store.createIndex('duration', 'duration', { unique: false });
store.createIndex('type', 'type', { unique: false });
store.createIndex('status', 'status', { unique: false });
store.createIndex('sondertext', 'sondertext', { unique: false });
} }
if (!db.objectStoreNames.contains('settings')) { if (!db.objectStoreNames.contains('settings')) {
const settingsT = db.createObjectStore('settings', { const settingsT = db.createObjectStore('settings', {
keyPath: 'id', keyPath: 'id',
autoIncrement: true, autoIncrement: true,
}) })
}
// Spalten definieren settingsT.createIndex('SettingsID', 'SettingsID', { unique: false });
store.createIndex('createdate', 'createdate', { unique: false }); settingsT.createIndex('SettingsValue', 'SettingsValue', { unique: false });
store.createIndex('date', 'date', { unique: false }); }
store.createIndex('duration', 'duration', { unique: false });
store.createIndex('type', 'type', { unique: false });
store.createIndex('status', 'status', { unique: false });
store.createIndex('sondertext', 'sondertext', { unique: false });
settingsT.createIndex('SettingsID', 'SettingsID', { unique: false });
settingsT.createIndex('SettingsValue', 'SettingsValue', { unique: false });
}; };
request.onsuccess = function (event) { request.onsuccess = function (event) {

@ -12,6 +12,7 @@ self.addEventListener("install", event => {
'/static/app/js/home.js', '/static/app/js/home.js',
'/static/app/js/timer.js', '/static/app/js/timer.js',
'/static/app/js/welcomeControl.js', '/static/app/js/welcomeControl.js',
'/static/app/js/UpdateInfoControl.js',
'/static/app/images/refresh.png', '/static/app/images/refresh.png',
'/static/app/images/play.png', '/static/app/images/play.png',
'/static/app/images/pause.png', '/static/app/images/pause.png',

Loading…
Cancel
Save

Powered by TurnKey Linux.