Skip to content

Migration failed in latest version #288

Closed
@milindpatel63

Description

@milindpatel63

I have been running ghost latest version in docker on Ubuntu 20.04 for quite a while...and it's been running fine...
Now yesterday, after watchtower update, it failed with error


alter table `posts_products` add constraint `posts_products_post_id_foreign` foreign key (`post_id`) references `posts` (`id`) on delete CASCADE - UNKNOWN_CODE_PLEASE_REPORT: Referencing column 'post_id' and referenced column 'id' in foreign key constraint 'posts_products_post_id_foreign' are incompatible.

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