freeCodeCamp / mail-for-good

An open source email campaign management tool for nonprofits
BSD 3-Clause "New" or "Revised" License
3.83k stars 476 forks source link

When running from this repo codes it's throwing error SequelizeBaseError #304

Open MahbbRah opened 6 years ago

MahbbRah commented 6 years ago

I'm trying to add the classical login with user password by customizing but after pulling codes and running by building from source with docker I can see that it's already there. But some problems are raised so that it is not working here is the shot after successfully dockerized the source:

it seems like the issue is with a password.

Error throwing by postgres

zhakk-harn commented 6 years ago

What likely happened is that you moved from Google+ auth to classical auth in on the app side but not on the DB side. You need to have a 'password' column in your 'users' table so the app can use the classical email/password credentials. running the script below will update the DB to the state expected by an updated app.

npm run updateDB