Skip to content

sqlstore.New fails on "duplicate column name: facebook_uuid" #680

Open
@hanrok

Description

When I'm using sqlstore.New of "go.mau.fi/whatsmeow/store/sqlstore" it fails with this error:

failed to upgrade database: duplicate column name: facebook_uuid

I looked into the upgradeV6 function and it looks like it alter the table and add this column (facebook_uuid), how the DB can get into a state so that the version is still not upgraded but the upgrade already happened?

Thanks in advance.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions