Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
SequelizeDatabaseError: column "deleteToken" does not exist #895
Since I updated CodiMD it began to compain about not setting the
Thanks in advance for your help.
Since it seems like no one else makes it to answer this… This error comes from the recent changes that add a user deletion function. Please check that you run all instructions that are mentioned in the README sections about upgrades. Also check for possible migration errors. If you have migration errors please check #894 and see if it can fix them.
On 07/21/2018 10:51 PM, mathiasblc wrote: Does somebody can help please? Any clue? :-/
-- Signed Sheogorath
Ok, now i can make things work. Here is what i think and what is did.
Without these scripts the migration can be completed. It is interesting that
However migration deletion is not the best solution because in the future
This is far from ideal but this is the only way i can achieve the update.
@mathiasblc hope this helps
Migrations should work now. The recent changes resolved all problems on the demo instance and also on some user setups so I hope this is fixed.
In some minor cases you may need to add a new default to the
Hope this helps everyone. I also purposed a change that, when you use
I just updated my instance that runs on Docker to v1.2.0 doing
as mentioned earlier in this issue.
Since I came here via search engine, I would like to drop a note how I fixed it: I added the missing column manually :)
Disclaimer: this is pretty hacky, use at your own risk!
Enter the database container and run psql using the hackmd user:
Being inside this, check whether the column exists:
If missing, add the column:
Check again, the missing column