xivo-manage-db
==============

Database can be changed three ways:

* Changing table specification
* Populating new database
* Adding a migration script


Changing table specification
----------------------------

Edit object in xivo-dao


Populating new database
-----------------------

Edit `populate/populate.sql` file


Adding a migration script
-------------------------

See https://documentation.xivo.solutions/en/latest/contributing/database.html

The `down_revision` ID must point to the last merged migration script.


Running unit tests
------------------

```
ci-tox
```
