zulip/zerver
Tim Abbott f4d98b03d5 migrations: Squash zerver migrations.
This has the impact of making rebuilding the database in a Zulip
development environment, or initializing a new production database,
dramatically faster.

This was generated by merging the output of `manage.py makemigrations`
with an empty migration.

Tested using `tools/rebuild-test-database` before and after this
change, and comparing the output of `pg_dump -d zulip_test` using
Git's diff comparison algorithm. Differences in that SQL dump include:

- The actual generated table contents, due to timestamps and the like;
  this is expected and unrelated to schema.

- Orders of fields within tables, which is not significant in SQL.

- IDs assigned to tables in the ContentType table, which is expected
  and not a problem with how that Django table is designed.

- Names of generated indexes and constraints; modern Django seems to
  abbreviate long names differently for these, and it's not obviously
  possible to configure those used by the `db_index` property. If
  necessarily, likely this can be converged via a migration filled
  with `IF EXISTS` rename operations like the one done in
  zerver/migrations/0246_message_date_sent_finalize_part2.py.

- Names of the ~3 sequences related to renamed tables:
  usertopic/mutedtopic, botconfigdata/botuserconfigdata,
  realmdomain/realmalias. Probably there's no action required here,
  but we could do rename operations if desired.
2024-08-23 17:15:35 -07:00
..
actions support: Add ability to update max daily invitations for realm. 2024-08-23 16:08:30 -07:00
data_import direct_message_group: Add new `group_size` field. 2024-08-23 11:09:41 -07:00
integration_fixtures/nagios
lib import: Use inspection to determine sequence names. 2024-08-23 17:15:35 -07:00
management management: Add change_auth_backends command. 2024-08-14 14:04:46 -07:00
migrations migrations: Squash zerver migrations. 2024-08-23 17:15:35 -07:00
models direct_message_group: Add new `group_size` field. 2024-08-23 11:09:41 -07:00
openapi user_groups: Add support to update can_manage_group setting. 2024-08-20 09:28:05 -07:00
tests test_message_fetch: Avoid assumptions about fixture data set. 2024-08-23 17:15:35 -07:00
tornado events: Migrate to typed_endpoint. 2024-07-31 17:10:06 -07:00
transaction_tests ruff: Bump target-version from py38 to py310. 2024-07-13 22:28:22 -07:00
views message_send: Convert to typed endpoint. 2024-08-21 11:13:00 -07:00
webhooks integration-docs: Update Open Collective for new doc format. 2024-08-15 13:16:14 -07:00
worker thumbnail: Resolve a race condition when rendering messages. 2024-08-01 16:48:16 -07:00
__init__.py
apps.py ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
context_processors.py ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
decorator.py decorators: Migrate to typed_endpoint. 2024-08-20 10:15:30 -07:00
filters.py ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
forms.py ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
logging_handlers.py ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
middleware.py ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
signals.py ruff: Bump target-version from py38 to py310. 2024-07-13 22:28:22 -07:00