~linuxgoose/bocpress

ref: 80848bb7529efcba5b8a7b03c1fcd81de2138168 bocpress/main/migrations/0034_analytic.py -rw-r--r-- 947 bytes
80848bb7Jordan Robinson add signup email notification to admin 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Generated by Django 3.0.8 on 2020-07-19 20:57

import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):
    dependencies = [
        ("main", "0033_auto_20200626_1947"),
    ]

    operations = [
        migrations.CreateModel(
            name="Analytic",
            fields=[
                (
                    "id",
                    models.AutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("created_at", models.DateTimeField(auto_now_add=True)),
                (
                    "post",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE, to="main.Post"
                    ),
                ),
            ],
        ),
    ]