2017-07-02 21:10:41 +02:00
|
|
|
# Generated by Django 1.11.2 on 2017-07-11 23:41
|
2017-11-16 00:44:00 +01:00
|
|
|
import django.db.models.deletion
|
2017-07-02 21:10:41 +02:00
|
|
|
from django.conf import settings
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
2020-01-14 21:59:46 +01:00
|
|
|
|
2017-07-02 21:10:41 +02:00
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
('zerver', '0091_realm_allow_edit_history'),
|
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
|
|
|
name='ScheduledEmail',
|
|
|
|
fields=[
|
2021-02-12 08:19:30 +01:00
|
|
|
(
|
|
|
|
'id',
|
|
|
|
models.AutoField(
|
|
|
|
auto_created=True, primary_key=True, serialize=False, verbose_name='ID'
|
|
|
|
),
|
|
|
|
),
|
2017-07-02 21:10:41 +02:00
|
|
|
('scheduled_timestamp', models.DateTimeField(db_index=True)),
|
|
|
|
('data', models.TextField()),
|
|
|
|
('address', models.EmailField(db_index=True, max_length=254, null=True)),
|
|
|
|
('type', models.PositiveSmallIntegerField()),
|
2021-02-12 08:19:30 +01:00
|
|
|
(
|
|
|
|
'user',
|
|
|
|
models.ForeignKey(
|
|
|
|
null=True,
|
|
|
|
on_delete=django.db.models.deletion.CASCADE,
|
|
|
|
to=settings.AUTH_USER_MODEL,
|
|
|
|
),
|
|
|
|
),
|
2017-07-02 21:10:41 +02:00
|
|
|
],
|
|
|
|
options={
|
|
|
|
'abstract': False,
|
|
|
|
},
|
|
|
|
),
|
|
|
|
migrations.DeleteModel(
|
|
|
|
name='ScheduledJob',
|
|
|
|
),
|
|
|
|
]
|