Implemented database migrations for mentat_events database.
The database migrations for IDEA event database *mentat_events* are now implemented. I have moved this issue to the next release, because there is code already merged in the current development branch that depended performing the migrations on target system. It was a choice of either removing that commit, or going forward with implementation. I have decided to implement it immediately, because this issue is blocking many more features. The implementation is again based on Alembic tool, which is already being used for migrations on mentat_main metadata database. It is however separatelly configured instance, merging both instances into single one would require considerably more amount of research and work. I have also updated accordingly manual pages regarding installation and upgrading. Very important bit of information was stamping the database with latest migration revision after clean installation. (Redmine issue: #4230)
Showing
- .pylintrc-lib 1 addition, 1 deletion.pylintrc-lib
- Gruntfile.js 6 additions, 0 deletionsGruntfile.js
- conf/requirements-latest.pip 1 addition, 0 deletionsconf/requirements-latest.pip
- conf/requirements.pip 2 additions, 1 deletionconf/requirements.pip
- doc/sphinx/_doclib/development.rst 41 additions, 0 deletionsdoc/sphinx/_doclib/development.rst
- doc/sphinx/_doclib/installation.rst 12 additions, 4 deletionsdoc/sphinx/_doclib/installation.rst
- doc/sphinx/_doclib/upgrading.rst 5 additions, 2 deletionsdoc/sphinx/_doclib/upgrading.rst
- migrations-events/README 1 addition, 0 deletionsmigrations-events/README
- migrations-events/alembic.ini 74 additions, 0 deletionsmigrations-events/alembic.ini
- migrations-events/env.py 103 additions, 0 deletionsmigrations-events/env.py
- migrations-events/script.py.mako 24 additions, 0 deletionsmigrations-events/script.py.mako
- migrations-events/versions/.gitplaceholder 0 additions, 0 deletionsmigrations-events/versions/.gitplaceholder
- scripts/sqldb-migrate-e.sh 20 additions, 0 deletionsscripts/sqldb-migrate-e.sh
migrations-events/README
0 → 100644
migrations-events/alembic.ini
0 → 100644
migrations-events/env.py
0 → 100644
migrations-events/script.py.mako
0 → 100644
migrations-events/versions/.gitplaceholder
0 → 100644
scripts/sqldb-migrate-e.sh
0 → 100755
Please register or sign in to comment