oncall-engine/engine/apps/oss_installation
Ildar Iskhakov 1b7ada4315
Add database migrations linter (#1020)
# What this PR does

This PR adds
[django-migration-linter](https://github.com/3YOURMIND/django-migration-linter)
to keep database migrations
 backwards compatible

- we can automatically run migrations and they are zero-downtime, e.g.
old code can work with the migrated database
 - we can run and rollback migrations without worrying about data safety
- OnCall is deployed to the multiple environments core team is not able
to control

See [django-migration-linter
checklist](https://github.com/3YOURMIND/django-migration-linter/blob/main/docs/incompatibilities.md)
for the common mistakes and best practices


## Which issue(s) this PR fixes

## Checklist

- [ ] Tests updated
- [ ] Documentation added
- [ ] `CHANGELOG.md` updated

---------

Co-authored-by: Joey Orlando <joey.orlando@grafana.com>
2023-02-06 16:01:37 +08:00
..
migrations Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
models Add RBAC Support (#777) 2022-11-29 09:41:56 +01:00
serializers Add cloud connection statuses on user page (#34) 2022-06-13 16:29:08 +04:00
tests Allow viewers fetch cloud connection status (#1181) 2023-01-23 11:17:57 +00:00
views Allow viewers fetch cloud connection status (#1181) 2023-01-23 11:17:57 +00:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
cloud_heartbeat.py Conform URLs (#281) 2022-07-25 09:12:50 -06:00
constants.py Make CloudConnection instance wide 2022-06-06 16:02:09 +04:00
tasks.py Add cloud connection statuses on user page (#34) 2022-06-13 16:29:08 +04:00
urls.py Allow viewers fetch cloud connection status (#1181) 2023-01-23 11:17:57 +00:00
usage_stats.py Add cloud connection statuses on user page (#34) 2022-06-13 16:29:08 +04:00
utils.py Add cloud connection statuses on user page (#34) 2022-06-13 16:29:08 +04:00