mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 16:14:02 +00:00
So far, we've used the BitField .authentication_methods on Realm for tracking which backends are enabled for an organization. This however made it a pain to add new backends (requiring altering the column and a migration - particularly troublesome if someone wanted to create their own custom auth backend for their server). Instead this will be tracked through the existence of the appropriate rows in the RealmAuthenticationMethods table.
17 lines
347 B
Python
17 lines
347 B
Python
# Generated by Django 4.2 on 2023-04-16 10:55
|
|
|
|
from django.db import migrations
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
("zerver", "0436_realmauthenticationmethods"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.RemoveField(
|
|
model_name="realm",
|
|
name="authentication_methods",
|
|
),
|
|
]
|