retracking migrations

This commit is contained in:
Rushil Umaretiya 2020-10-22 19:42:52 -04:00
parent 3aad89c9e2
commit 9a59d5157b
4 changed files with 32 additions and 22 deletions

1
.gitignore vendored
View File

@ -7,7 +7,6 @@ static_files
.idea/
.vscode/
/static
migrations/
# C extensions
*.so

View File

@ -1,21 +0,0 @@
# Generated by Django 3.1.2 on 2020-10-20 13:48
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='NotionPage',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('url', models.URLField(max_length=300)),
],
),
]

View File

@ -0,0 +1,32 @@
# Generated by Django 3.1.2 on 2020-10-22 23:42
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Bar',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=70)),
('money_raised', models.FloatField()),
],
),
migrations.CreateModel(
name='Story',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('header', models.CharField(max_length=50)),
('img_name', models.CharField(default=None, max_length=50, null=True)),
('body', models.TextField(max_length=200)),
('created', models.DateTimeField(auto_now=True)),
],
),
]