database: consider jsonfield with django >= 3.1 #153
Labels
database
Related to the database backends or models
django3.2
Related to upgrading Django from 2.2LTS to 3.2LTS
enhancement
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.
The text was updated successfully, but these errors were encountered: