Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • C core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 93
    • Issues 93
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • minervaminerva
  • core
  • Merge requests
  • !359

Resolve "use database migration framework"

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Piotr Gawron requested to merge 389-use-database-migration-framework into master Jul 24, 2018
  • Overview 0
  • Commits 9
  • Pipelines 7
  • Changes 196

This Merge request resolves issue with manual db migrations. All script starting from version 12.1.0 will be managed by flyway library. Due to that all manual migration that were done starting from version 12.1.0 should be inserted into flyway history table (see the flyway_manual_init.sql) - this should affect only software developers who were working on version 12.1.0 up to now. Everybody who will start after MR is accepted wouldn't encounter any difficulties.

Regarding debian package. For now there is still manual migration and initialization of database, because there is no way to tell flyway what the previous version of database was. However, manual migration is limited to anything prior to 12.1.0. Further scripts will be migrated automatically by flyway.

Additionally there is new continuous integration test for checking if installation of debian package was performed properly and minerva website is available from localhost after installation.

Closes #389 (closed)

Edited Jul 30, 2018 by Piotr Gawron
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 389-use-database-migration-framework