Add migration 0001
This commit is contained in:
parent
7534cf3b13
commit
e3dcc2cd4b
4 changed files with 23 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,7 +1,7 @@
|
|||
*.swp
|
||||
*.pyc
|
||||
__pycache__/
|
||||
migrations/
|
||||
build/
|
||||
dist/
|
||||
dbsettings.egg-info/
|
||||
venv/
|
||||
|
|
21
dbsettings/migrations/0001_initial.py
Normal file
21
dbsettings/migrations/0001_initial.py
Normal 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()),
|
||||
],
|
||||
),
|
||||
]
|
0
dbsettings/migrations/__init__.py
Normal file
0
dbsettings/migrations/__init__.py
Normal file
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue