You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

61 lines
1.8 KiB

# Generated by Django 2.1.4 on 2018-12-10 15:15
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [("api", "0044_auto_20181120_2004")]
operations = [
migrations.CreateModel(
name="Flip",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("created", models.DateTimeField()),
(
"processed",
models.DateTimeField(blank=True, db_index=True, null=True),
),
(
"old_status",
models.CharField(
choices=[
("up", "Up"),
("down", "Down"),
("new", "New"),
("paused", "Paused"),
],
max_length=8,
),
),
(
"new_status",
models.CharField(
choices=[
("up", "Up"),
("down", "Down"),
("new", "New"),
("paused", "Paused"),
],
max_length=8,
),
),
(
"owner",
models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE, to="api.Check"
),
),
],
)
]