Browse Source

add migration

main
Julia Luna 2 years ago
parent
commit
1cd6dcddf5
Signed by: xenua
GPG Key ID: 6A0C04FA9A7D7582
  1. 2
      .gitignore
  2. 22
      scopedsites/migrations/0001_initial.py

2
.gitignore vendored

@ -2,3 +2,5 @@ env/ @@ -2,3 +2,5 @@ env/
.idea/
db.sqlite3
django_scopedsites
manage.py
**__pycache__/

22
scopedsites/migrations/0001_initial.py

@ -0,0 +1,22 @@ @@ -0,0 +1,22 @@
# Generated by Django 4.0.5 on 2022-06-18 17:20
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Domain',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('fqdn', models.CharField(max_length=255, unique=True, verbose_name='FQDN')),
('name', models.CharField(max_length=255, verbose_name='display name')),
],
),
]
Loading…
Cancel
Save