Delete migrations
This commit is contained in:
parent
95053edc26
commit
722f5d7a9a
@ -1,31 +0,0 @@
|
||||
# Generated by Django 3.2.5 on 2021-07-15 14:00
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Book',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('title', models.CharField(max_length=255)),
|
||||
('country', models.CharField(max_length=255)),
|
||||
('year', models.CharField(max_length=4)),
|
||||
('author', models.CharField(max_length=255)),
|
||||
('created_at', models.DateTimeField(auto_now_add=True)),
|
||||
('updated_at', models.DateTimeField(auto_now=True)),
|
||||
],
|
||||
options={
|
||||
'verbose_name': 'Book',
|
||||
'verbose_name_plural': 'Books',
|
||||
'ordering': ('created_at',),
|
||||
},
|
||||
),
|
||||
]
|
Loading…
Reference in New Issue
Block a user