Remove migrations from project files - creating them locally is safer
This commit is contained in:
parent
47c7a84781
commit
e8e5142f96
4 changed files with 1 additions and 44 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
*.swp
|
||||
*.pyc
|
||||
__pycache__/
|
||||
migrations/
|
||||
|
|
|
@ -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)),
|
||||
],
|
||||
),
|
||||
]
|
|
@ -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),
|
||||
),
|
||||
]
|
Loading…
Reference in a new issue