2019-10-05 02:35:07 +02:00
|
|
|
# Generated by Django 1.11.24 on 2019-10-03 23:40
|
|
|
|
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
|
|
# The values at the time of this migration
|
|
|
|
ROLE_MEMBER = 400
|
|
|
|
|
2021-02-12 08:19:30 +01:00
|
|
|
|
2019-10-05 02:35:07 +02:00
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
2021-02-12 08:20:45 +01:00
|
|
|
("zerver", "0248_userprofile_role_start"),
|
2019-10-05 02:35:07 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.RemoveField(
|
2021-02-12 08:20:45 +01:00
|
|
|
model_name="userprofile",
|
|
|
|
name="is_guest",
|
2019-10-05 02:35:07 +02:00
|
|
|
),
|
|
|
|
migrations.RemoveField(
|
2021-02-12 08:20:45 +01:00
|
|
|
model_name="userprofile",
|
|
|
|
name="is_realm_admin",
|
2019-10-05 02:35:07 +02:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-02-12 08:20:45 +01:00
|
|
|
model_name="userprofile",
|
|
|
|
name="role",
|
2019-10-05 02:35:07 +02:00
|
|
|
field=models.PositiveSmallIntegerField(db_index=True, default=ROLE_MEMBER),
|
|
|
|
),
|
|
|
|
]
|