zulip/zilencer/migrations/0010_billingprocessor.py

40 lines
1.2 KiB
Python
Raw Normal View History

2018-07-03 21:49:55 +02:00
# Generated by Django 1.11.14 on 2018-08-13 23:15
import django.db.models.deletion
from django.db import migrations, models
2018-07-03 21:49:55 +02:00
class Migration(migrations.Migration):
dependencies = [
("zerver", "0182_set_initial_value_is_private_flag"),
("zilencer", "0009_plan"),
2018-07-03 21:49:55 +02:00
]
operations = [
migrations.CreateModel(
name="BillingProcessor",
2018-07-03 21:49:55 +02:00
fields=[
(
"id",
models.AutoField(
auto_created=True, primary_key=True, serialize=False, verbose_name="ID"
),
),
("state", models.CharField(max_length=20)),
("last_modified", models.DateTimeField(auto_now=True)),
(
"log_row",
models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE, to="zerver.RealmAuditLog"
),
),
(
"realm",
models.OneToOneField(
null=True, on_delete=django.db.models.deletion.CASCADE, to="zerver.Realm"
),
),
2018-07-03 21:49:55 +02:00
],
),
]