fisk/core/migrations/0003_hook.py

26 lines
840 B
Python
Raw Normal View History

2022-10-12 06:22:22 +00:00
# Generated by Django 4.1.2 on 2022-10-14 23:15
2022-10-15 17:45:25 +00:00
import django.db.models.deletion
2022-10-12 06:22:22 +00:00
from django.conf import settings
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0002_session_session'),
]
operations = [
migrations.CreateModel(
name='Hook',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(blank=True, max_length=1024, null=True)),
('hook', models.CharField(max_length=255)),
('received', models.IntegerField(default=0)),
('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
],
),
]