From b2f8f356ed526678e86139c82d9d62f52e6c5901 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Fri, 16 Mar 2018 23:39:10 -0700 Subject: [PATCH] bump db because lodash-webpack-plugin broke it --- routes/_database/constants.js | 18 +++++++++--------- routes/_database/databaseLifecycle.js | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/routes/_database/constants.js b/routes/_database/constants.js index f3e0abc..fce615e 100644 --- a/routes/_database/constants.js +++ b/routes/_database/constants.js @@ -1,12 +1,12 @@ -export const STATUSES_STORE = 'statuses-v2' -export const STATUS_TIMELINES_STORE = 'status_timelines-v2' -export const META_STORE = 'meta-v2' -export const ACCOUNTS_STORE = 'accounts-v2' -export const RELATIONSHIPS_STORE = 'relationships-v2' -export const NOTIFICATIONS_STORE = 'notifications-v2' -export const NOTIFICATION_TIMELINES_STORE = 'notification_timelines-v2' -export const PINNED_STATUSES_STORE = 'pinned_statuses-v2' -export const THREADS_STORE = 'threads-v2' +export const STATUSES_STORE = 'statuses-v3' +export const STATUS_TIMELINES_STORE = 'status_timelines-v3' +export const META_STORE = 'meta-v3' +export const ACCOUNTS_STORE = 'accounts-v3' +export const RELATIONSHIPS_STORE = 'relationships-v3' +export const NOTIFICATIONS_STORE = 'notifications-v3' +export const NOTIFICATION_TIMELINES_STORE = 'notification_timelines-v3' +export const PINNED_STATUSES_STORE = 'pinned_statuses-v3' +export const THREADS_STORE = 'threads-v3' export const TIMESTAMP = '__pinafore_ts' export const ACCOUNT_ID = '__pinafore_acct_id' diff --git a/routes/_database/databaseLifecycle.js b/routes/_database/databaseLifecycle.js index 8fb1e44..504691e 100644 --- a/routes/_database/databaseLifecycle.js +++ b/routes/_database/databaseLifecycle.js @@ -18,7 +18,7 @@ import forEach from 'lodash/forEach' const openReqs = {} const databaseCache = {} -const DB_VERSION = 7 +const DB_VERSION = 8 export function getDatabase (instanceName) { if (!instanceName) {