You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/plugins/dev-mode/error-messages.ts
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -70,9 +70,9 @@ export const ERROR_MESSAGES = {
70
70
DB5: 'RxDatabase.addCollections(): collection-name not allowed',
71
71
DB6: 'RxDatabase.addCollections(): another instance created this collection with a different schema. Read this https://rxdb.info/questions-answers.html?console=qa#cant-change-the-schema ',
72
72
// removed in 13.0.0 (now part of the encryption plugin) DB7: 'RxDatabase.addCollections(): schema encrypted but no password given',
73
-
// removed in xxxx (new instances wait for old instances to close) DB8: 'createRxDatabase(): A RxDatabase with the same name and adapter already exists.\n' +
74
-
// 'Make sure to use this combination only once or set ignoreDuplicate to true if you do this intentional-\n' +
75
-
// 'This often happens in react projects with hot reload that reloads the code without reloading the process.',
73
+
DB8: 'createRxDatabase(): A RxDatabase with the same name and adapter already exists.\n'+
74
+
'Make sure to use this combination only once or set ignoreDuplicate to true if you do this intentional-\n'+
75
+
'This often happens in react projects with hot reload that reloads the code without reloading the process.',
76
76
DB9: 'ignoreDuplicate is only allowed in dev-mode and must never be used in production',
77
77
// removed in 14.0.0 - PouchDB RxStorage is removed - DB9: 'createRxDatabase(): Adapter not added. Use addPouchPlugin(require(\'pouchdb-adapter-[adaptername]\'));',
78
78
// removed in 14.0.0 - PouchDB RxStorage is removed DB10: 'createRxDatabase(): To use leveldown-adapters, you have to add the leveldb-plugin. Use addPouchPlugin(require(\'pouchdb-adapter-leveldb\'));',
0 commit comments