Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • W Waarp Gateway
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 48
    • Issues 48
    • List
    • Boards
    • Service Desk
    • Milestones
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Applications
  • Waarp Gateway
  • Waarp Gateway
  • Issues
  • #362
Closed
Open
Issue created Feb 28, 2023 by Paolo Pantellini@paolo.pantelliniMaintainer

The migration to 0.7.0 produces errors

The 0.7.0 version changed the database schema quite substantially.

One of these changes was to make the remote_accounts.password column NOT NULL DEFAULT(''). However, when applying the 0.7.0 migration to the table, the migration fails because the column contains NULL values. This is due to the fact that, unlike the string type, the types.CypherText type used in the RemoteAccount model has a default value of NULL, instead of ''.

The migration should be changed take this into account, and first update the column to convert all NULL values to empty strings.

A similar fix will be needed for the crypto_credentials.private_key column, which also uses types.CypherText in its model.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking