From e3dcc2cd4b66685b167b5d76585cc7fe3f0d8f49 Mon Sep 17 00:00:00 2001 From: Kumi Date: Fri, 9 Jun 2023 16:15:05 +0200 Subject: [PATCH] Add migration 0001 --- .gitignore | 2 +- dbsettings/migrations/0001_initial.py | 21 +++++++++++++++++++++ dbsettings/migrations/__init__.py | 0 setup.cfg | 2 +- 4 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 dbsettings/migrations/0001_initial.py create mode 100644 dbsettings/migrations/__init__.py diff --git a/.gitignore b/.gitignore index 09b5d9f..a3d86e9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ *.swp *.pyc __pycache__/ -migrations/ build/ dist/ dbsettings.egg-info/ +venv/ diff --git a/dbsettings/migrations/0001_initial.py b/dbsettings/migrations/0001_initial.py new file mode 100644 index 0000000..c522fd9 --- /dev/null +++ b/dbsettings/migrations/0001_initial.py @@ -0,0 +1,21 @@ +# Generated by Django 4.2.2 on 2023-06-09 14:14 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + initial = True + + dependencies = [ + ] + + operations = [ + migrations.CreateModel( + name='Setting', + fields=[ + ('key', models.CharField(max_length=255, primary_key=True, serialize=False)), + ('value', models.TextField()), + ], + ), + ] diff --git a/dbsettings/migrations/__init__.py b/dbsettings/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/setup.cfg b/setup.cfg index f143172..aaa3c97 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = dbsettings -version = 0.9.6 +version = 0.9.7 description = A Django app to store key-value pairs in the database long_description = file: README.md long_description_content_type = text/markdown