2016-10-28 21:43:47 +02:00
|
|
|
from django.db import migrations, models
|
|
|
|
|
2020-01-14 21:59:46 +01:00
|
|
|
|
2020-02-17 17:13:57 +01:00
|
|
|
COMMUNITY = 2
|
2016-10-28 21:43:47 +02:00
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
('zerver', '0037_disallow_null_string_id'),
|
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.AlterField(
|
|
|
|
model_name='realm',
|
|
|
|
name='invite_required',
|
|
|
|
field=models.BooleanField(default=True),
|
|
|
|
),
|
|
|
|
migrations.AlterField(
|
|
|
|
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(
|
|
|
|
model_name='realm',
|
|
|
|
name='restricted_to_domain',
|
|
|
|
field=models.BooleanField(default=False),
|
|
|
|
),
|
|
|
|
]
|