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

database: consider jsonfield with django >= 3.1 #153

Open
dmsimard opened this issue Aug 4, 2020 · 3 comments
Open

database: consider jsonfield with django >= 3.1 #153

dmsimard opened this issue Aug 4, 2020 · 3 comments
Labels
database Related to the database backends or models django3.2 Related to upgrading Django from 2.2LTS to 3.2LTS enhancement

Comments

@dmsimard
Copy link
Contributor

dmsimard commented Aug 4, 2020

What component is this about ?

database model, potentially requiring API changes

What is the idea ?

We are not ready to upgrade Django yet (waiting for the next LTS) but django 3.1 was just released with jsonfield support for all database backends whereas it was only compatible with postgresql before: https://docs.djangoproject.com/en/3.1/releases/3.1/#jsonfield-for-all-supported-database-backends

Since a lot of things from Ansible is JSON, this could help us simplify the database schema and also make the fields easily searchable -- I'm thinking like searching through results, host facts or CLI arguments, for example.

@dmsimard dmsimard added the database Related to the database backends or models label Aug 22, 2020
@dmsimard dmsimard added the django3.2 Related to upgrading Django from 2.2LTS to 3.2LTS label Sep 15, 2020
@dmsimard
Copy link
Contributor Author

dmsimard commented Apr 6, 2021

@dmsimard
Copy link
Contributor Author

WIP upgrade to django 3.2: #360

@dmsimard
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
database Related to the database backends or models django3.2 Related to upgrading Django from 2.2LTS to 3.2LTS enhancement
Projects
None yet
Development

No branches or pull requests

1 participant