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.
myblog/App/migrations/0017_auto_20220505_2143.py

28 lines
832 B

# Generated by Django 3.2.9 on 2022-05-05 13:43
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('App', '0016_paper_views'),
]
operations = [
migrations.RemoveField(
model_name='paper',
name='thumbs_up',
),
migrations.CreateModel(
name='thumbs',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('username', models.CharField(max_length=100)),
('thumbs_time', models.DateTimeField(auto_now_add=True)),
('paper_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='App.paper')),
],
),
]