oncall-engine/engine/apps/user_management
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 Integration with grafana incident (#1081) 2023-01-17 13:04:50 +01:00
subscription_strategy Restore email notifications (#621) 2022-10-19 12:32:56 +01:00
tests Sync users and teams on tf requests (#1180) 2023-01-24 13:44:07 +08:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
admin.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
apps.py Update ical event/user email matching to be case-insensitive 2022-10-20 16:12:41 -03:00
exceptions.py Org soft-delete (#1073) 2023-01-05 12:42:55 +08:00
middlewares.py Org soft-delete (#1073) 2023-01-05 12:42:55 +08:00
sync.py Sync users and teams on tf requests (#1180) 2023-01-24 13:44:07 +08:00
user_representative.py World, meet OnCall! 2022-06-03 08:09:47 -06:00