25 lines
666 B
Python
25 lines
666 B
Python
# Generated by Django 3.2.4 on 2021-06-22 10:46
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='News',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('title', models.CharField(max_length=50)),
|
|
('url', models.CharField(max_length=500)),
|
|
('votes', models.IntegerField()),
|
|
('created', models.DateTimeField(auto_now_add=True)),
|
|
],
|
|
),
|
|
]
|