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.

25 lines
1020 B

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