Migrate from couchdb to sql
As discussed on the LEAP discuss ml, we are moving to a sql DB, in a way that we can plug in different dbs like mariadb or postgresql.
We want to slowly migrate different parts so here are the steps that we need to follow:
- create a DB schema
- change webapp-only db access to sql (tokens, sesssions, tickets, invite codes, billing, etc)
- provide migration scripts
- change dbs that are shared with leap-mx to sql (users, identities)
- migrate soledad-userdbs
(from redmine: created on 2016-01-27)