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

Applying migrations.sh as per INSTALL.md dies #321

Closed
opencoca opened this issue Dec 20, 2022 · 2 comments
Closed

Applying migrations.sh as per INSTALL.md dies #321

opencoca opened this issue Dec 20, 2022 · 2 comments

Comments

@opencoca
Copy link

When installing on ubuntu 20.04, the current bin/migrations.sh fails to add deleted to users.

/usr/local/share/lua/5.1/lapis/db/postgres.lua:111: ALTER TABLE "users" ADD COLUMN "deleted" timestamp with time zone
 ERROR: column "deleted" of relation "users" already exists
@opencoca
Copy link
Author

A hack that gets things working is to patch the migrations. Not including the broken instructions may have side effects, as I'm unfamiliar with all aspects of the DB and API.

https://github.com/opencoca/RIAC-snapCloud/blob/master/migrations.patch

@cycomachead
Copy link
Member

I think we've now cleaned this up, finally.

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

2 participants