zulip/zilencer
Alex Vandiver 98b68d7034 zilencer: Remove duplicates before adding unique indexes.
The recent #27818 naïvely added unique indexes, despite there being a
large number of existing violations.  This makes the migration
impossible to deploy.

Update the migration to de-duplicate rows, dropping all but the
first-by-id of each unique set.  This is equivalent to what
dd954749be does with `ignore_conflicts`.  We update the migration,
rather than making a new one, as any server which has somehow
successfully applied the migration apparently did not need to
de-duplicate anything.
2023-11-28 15:01:10 -08:00
..
lib counts: Add function compute_max_monthly_messages for remote servers. 2023-11-08 09:45:49 -08:00
management corporate: Create change plan tier function for BillingSession. 2023-11-26 19:39:52 -08:00
migrations zilencer: Remove duplicates before adding unique indexes. 2023-11-28 15:01:10 -08:00
README.md docs: Format Markdown with Prettier. 2021-09-08 12:06:24 -07:00
__init__.py
auth.py auth: Allow easier bouncer testing in dev env. 2023-11-17 18:32:49 -08:00
models.py remote_realm: Add syncing of org_type. 2023-11-28 14:41:16 -08:00
urls.py corporate: Add prototype authentication system for self-hosters. 2023-11-22 17:03:47 -08:00
views.py remote_realm: Add syncing of org_type. 2023-11-28 14:41:16 -08:00

README.md

ZILENCER -- The Zulip license manager

This app is the place for storing state about various deployments of Zulip that exist in the world.