# Generated by Django 5.0.6 on 2024-08-01 11:35

import django_redis_push.models.push_log
from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = []

    operations = [
        migrations.CreateModel(
            name="PushData",
            fields=[
                ("id", models.BigAutoField(primary_key=True, serialize=False)),
                ("queue", models.CharField(max_length=255)),
                ("data", models.JSONField()),
            ],
            options={
                "db_table": "redis_push_data",
            },
        ),
        migrations.CreateModel(
            name="PushLog",
            fields=[
                ("id", models.BigAutoField(primary_key=True, serialize=False)),
                ("queue", models.CharField(max_length=255)),
                ("count", models.IntegerField()),
                (
                    "created_at",
                    models.IntegerField(
                        default=django_redis_push.models.push_log.get_timestamp
                    ),
                ),
            ],
            options={
                "db_table": "redis_push_log",
            },
        ),
    ]
