title: Sync multiple PouchDB databases to one CouchDB database
body: <p>In PouchDB <a href="https://pouchdb.com/api.html#sync" rel="nofollow noreferrer">Documentation</a> I found that sync is between local database and the remote CouchDB database. I'm trying to build a native application that have a local database for every user <em>(many databases)</em> and sync to one remote database:</p>
  
  <p>Let's say that user 01 syncs to the remote database, then user 02 syncs to it too. I think it'll override the data of the first user. This is what I want:</p>
  
  <pre><code>// Default
  user1 = ['data']
  user2 = ['data']
  remote = [user1 or user2]
  
  // what i want
  user1 = ['data']
  user2 = ['data']
  remote = [user1, user2, ....etc]
  </code></pre>