Add migration 0001

This commit is contained in:
Kumi 2023-06-09 16:15:05 +02:00
parent 7534cf3b13
commit e3dcc2cd4b
Signed by: kumi
GPG key ID: ECBCC9082395383F
4 changed files with 23 additions and 2 deletions

2
.gitignore vendored
View file

@ -1,7 +1,7 @@
*.swp *.swp
*.pyc *.pyc
__pycache__/ __pycache__/
migrations/
build/ build/
dist/ dist/
dbsettings.egg-info/ dbsettings.egg-info/
venv/

View file

@ -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()),
],
),
]

View file

View file

@ -1,6 +1,6 @@
[metadata] [metadata]
name = dbsettings name = dbsettings
version = 0.9.6 version = 0.9.7
description = A Django app to store key-value pairs in the database description = A Django app to store key-value pairs in the database
long_description = file: README.md long_description = file: README.md
long_description_content_type = text/markdown long_description_content_type = text/markdown