migrations: Remove pgroonga check for postgres database.

Zulip has only supported postgres for a long time, and this is
unlikely to change, so this code was just extra clutter.
This commit is contained in:
Tim Abbott 2021-05-27 16:21:40 -07:00 committed by Tim Abbott
parent 7a4c212dff
commit e0992c85fb
1 changed files with 17 additions and 19 deletions

View File

@ -9,7 +9,7 @@ class Migration(migrations.Migration):
]
database_setting = settings.DATABASES["default"]
if "postgres" in database_setting["ENGINE"]:
operations = [
migrations.RunSQL(
[
@ -51,5 +51,3 @@ END$$
],
),
]
else:
operations = []