mirror of
https://github.com/DerTyp7/tealcode-django-python.git
synced 2025-10-30 04:47:09 +01:00
26 lines
820 B
Python
26 lines
820 B
Python
# Generated by Django 3.2.9 on 2021-11-22 10:47
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
import django.utils.timezone
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('main', '0010_topic_tags'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Rating',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('is_positive', models.BooleanField()),
|
|
('ip', models.CharField(max_length=90)),
|
|
('date_created', models.DateTimeField(default=django.utils.timezone.now)),
|
|
('topic', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='main.topic')),
|
|
],
|
|
),
|
|
]
|