2016-10-28 21:43:47 +02:00
|
|
|
from django.db import migrations, models
|
|
|
|
|
2020-02-17 17:13:57 +01:00
|
|
|
COMMUNITY = 2
|
2021-02-12 08:19:30 +01:00
|
|
|
|
|
|
|
|
2016-10-28 21:43:47 +02:00
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
2021-02-12 08:20:45 +01:00
|
|
|
("zerver", "0037_disallow_null_string_id"),
|
2016-10-28 21:43:47 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.AlterField(
|
2021-02-12 08:20:45 +01:00
|
|
|
model_name="realm",
|
|
|
|
name="invite_required",
|
2016-10-28 21:43:47 +02:00
|
|
|
field=models.BooleanField(default=True),
|
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-02-12 08:20:45 +01:00
|
|
|
model_name="realm",
|
|
|
|
name="org_type",
|
2020-02-17 17:13:57 +01:00
|
|
|
field=models.PositiveSmallIntegerField(default=COMMUNITY),
|
2016-10-28 21:43:47 +02:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-02-12 08:20:45 +01:00
|
|
|
model_name="realm",
|
|
|
|
name="restricted_to_domain",
|
2016-10-28 21:43:47 +02:00
|
|
|
field=models.BooleanField(default=False),
|
|
|
|
),
|
|
|
|
]
|