amdelamar / oddox-dashboard

Apache License 2.0
2 stars 0 forks source link

Create a db prefix to prevent databases from overwriting each other #11

Closed amdelamar closed 6 years ago

amdelamar commented 6 years ago

What is the Problem?

PouchDB Databases are created as "application", "posts", and "authors"... but if a users were to switch between 2 or more blogs, the docs would become mixed.

Prevent this by applying a unique prefix identifier to the creation of each local database.