mirror of https://github.com/zulip/zulip.git
67 lines
2.2 KiB
Python
67 lines
2.2 KiB
Python
|
# -*- coding: utf-8 -*-
|
||
|
from __future__ import unicode_literals
|
||
|
|
||
|
from django.db import models, migrations
|
||
|
import django.contrib.auth.models
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('zerver', '0001_initial'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.AlterModelManagers(
|
||
|
name='userprofile',
|
||
|
managers=[
|
||
|
(b'objects', django.contrib.auth.models.UserManager()),
|
||
|
],
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='appledevicetoken',
|
||
|
name='last_updated',
|
||
|
field=models.DateTimeField(auto_now=True),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='mituser',
|
||
|
name='email',
|
||
|
field=models.EmailField(unique=True, max_length=254),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='preregistrationuser',
|
||
|
name='email',
|
||
|
field=models.EmailField(max_length=254),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='preregistrationuser',
|
||
|
name='streams',
|
||
|
field=models.ManyToManyField(to='zerver.Stream'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='pushdevicetoken',
|
||
|
name='last_updated',
|
||
|
field=models.DateTimeField(auto_now=True),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='referral',
|
||
|
name='email',
|
||
|
field=models.EmailField(max_length=254),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='userprofile',
|
||
|
name='email',
|
||
|
field=models.EmailField(unique=True, max_length=254, db_index=True),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='userprofile',
|
||
|
name='groups',
|
||
|
field=models.ManyToManyField(related_query_name='user', related_name='user_set', to='auth.Group', blank=True, help_text='The groups this user belongs to. A user will get all permissions granted to each of their groups.', verbose_name='groups'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='userprofile',
|
||
|
name='last_login',
|
||
|
field=models.DateTimeField(null=True, verbose_name='last login', blank=True),
|
||
|
),
|
||
|
]
|