mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 16:14:02 +00:00
Black 23 enforces some slightly more specific rules about empty line counts and redundant parenthesis removal, but the result is still compatible with Black 22. (This does not actually upgrade our Python environment to Black 23 yet.) Signed-off-by: Anders Kaseorg <anders@zulip.com>
21 lines
615 B
Python
21 lines
615 B
Python
from django.conf import settings
|
|
from django.db import migrations
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
("zerver", "0001_initial"),
|
|
]
|
|
|
|
database_setting = settings.DATABASES["default"]
|
|
|
|
operations = [
|
|
# This previously had additional operations, but they are all
|
|
# undone in migration 0003 because we switched to using the
|
|
# PGroonga v2 API.
|
|
migrations.RunSQL(
|
|
sql="ALTER TABLE zerver_message ADD COLUMN search_pgroonga text;",
|
|
reverse_sql="ALTER TABLE zerver_message DROP COLUMN search_pgroonga;",
|
|
),
|
|
]
|