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

Rebuild backend to use postgresql #254

Open
jaylett opened this issue Jun 11, 2017 · 1 comment
Open

Rebuild backend to use postgresql #254

jaylett opened this issue Jun 11, 2017 · 1 comment

Comments

@jaylett
Copy link
Member

jaylett commented Jun 11, 2017

Redis was an interesting experiment. But I think we're agreed that it doesn't give us anything other than a lot more code emulating a rubbish ORM, compared to just using the Django ORM and postgresql.

@georgebrock georgebrock mentioned this issue Jun 12, 2017
3 tasks
@georgebrock
Copy link
Member

I played around with this a bit this afternoon, starting to move the Mission model over from Redis to Postgres. I quickly realised that the copy attribute would be a good candidate for a PostgreSQL JSONB field, especially given all the little optional bits and bobs we've added there over the years to support the quirks of this or that mission.

Unfortunately, we're on Django 1.8 and django.contrib.postgres.fields.JSONField wasn't added until 1.9, so I started upgrading in #255.

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