2016-11-02 21:41:10 +01:00
|
|
|
import bitfield.models
|
2019-02-02 23:53:20 +01:00
|
|
|
from django.db import migrations
|
2016-11-02 21:41:10 +01:00
|
|
|
|
2020-01-14 21:59:46 +01:00
|
|
|
|
2016-11-02 21:41:10 +01:00
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
2021-02-12 08:20:45 +01:00
|
|
|
("zerver", "0039_realmalias_drop_uniqueness"),
|
2016-11-02 21:41:10 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.AddField(
|
2021-02-12 08:20:45 +01:00
|
|
|
model_name="realm",
|
|
|
|
name="authentication_methods",
|
2021-02-12 08:19:30 +01:00
|
|
|
field=bitfield.models.BitField(
|
2021-02-12 08:20:45 +01:00
|
|
|
["Google", "Email", "GitHub", "LDAP", "Dev", "RemoteUser"], default=2147483647
|
2021-02-12 08:19:30 +01:00
|
|
|
),
|
2016-11-02 21:41:10 +01:00
|
|
|
),
|
|
|
|
]
|