Skip to content

Commit

Permalink
Created migrations for changes to models.py
Browse files Browse the repository at this point in the history
Also deleted the __init__.py file from the backend directory (per Mike's suggestion)
  • Loading branch information
joshfeli committed Jun 21, 2021
1 parent d04467f commit 6b83e81
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions .idea/temp.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file removed backend/__init__.py
Empty file.
23 changes: 23 additions & 0 deletions backend/app/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Generated by Django 3.1.5 on 2021-06-21 19:40

import app.fields
from django.db import migrations, models


class Migration(migrations.Migration):

initial = True

dependencies = [
]

operations = [
migrations.CreateModel(
name='Pronoun',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('identifier', app.fields.LowercaseCharField(max_length=40)),
('type', models.CharField(choices=[('subj', 'Subject'), ('obj', 'Object'), ('pos_det', 'Possessive determiner'), ('pos_pro', 'Possessive pronoun'), ('reflex', 'Reflexive')], max_length=7)),
],
),
]

0 comments on commit 6b83e81

Please sign in to comment.