Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hanrok opened this issue Oct 27, 2024 · 0 comments
Open

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

hanrok opened this issue Oct 27, 2024 · 0 comments

Comments

@hanrok
Copy link

hanrok commented Oct 27, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant