Skip to content
This repository was archived by the owner on Jan 18, 2021. It is now read-only.
This repository was archived by the owner on Jan 18, 2021. It is now read-only.

Migration error #32

@bschultz

Description

@bschultz

Getting this for latest migration:

[DBController] Current: 3, Latest: 4
[DBController] MIGRATION IS ABOUT TO START IN 30 SECONDS, PLEASE MAKE SURE YOU HAVE A BACKUP!!!
[DBController] Migrating database to version 4
[DBController] Migration failed: Error: ER_CANT_CREATE_TABLE: Can't create table `rdm_dataparser`.`assignment` (errno: 150 "Foreign key constraint is incorrectly formed")
[DBController] Migration successful
[DBController] Migration done

And migration isn't running when doing pm2 restart DataParser. I have to stop and start manually but I don't know if this could be fixed somehow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions