Remove migrations from project files - creating them locally is safer

This commit is contained in:
Kumi 2020-02-15 15:15:07 +01:00
parent 47c7a84781
commit e8e5142f96
Signed by: kumi
GPG key ID: 6C2B851B15DF1681
4 changed files with 1 additions and 44 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
*.swp *.swp
*.pyc *.pyc
__pycache__/ __pycache__/
migrations/

View file

@ -1,21 +0,0 @@
# Generated by Django 2.2.6 on 2019-10-26 15:21
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Setting',
fields=[
('key', models.CharField(max_length=512, primary_key=True, serialize=False)),
('value', models.CharField(max_length=512)),
],
),
]

View file

@ -1,23 +0,0 @@
# Generated by Django 2.2.6 on 2020-01-17 15:24
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('dbsettings', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='setting',
name='key',
field=models.CharField(max_length=255, primary_key=True, serialize=False),
),
migrations.AlterField(
model_name='setting',
name='value',
field=models.CharField(max_length=255),
),
]

View file