diff options
author | 2018-10-17 19:50:23 +0000 | |
---|---|---|
committer | 2018-10-17 19:50:23 +0000 | |
commit | 7b0e0ce545238bfa21f710f983b595950a636b52 (patch) | |
tree | 66f92f9d6328e2ad4484bf412cebe3057af7056a /api/migrations | |
parent | Add `docker` tag to use proper runners. (diff) | |
parent | Merge branch 'django' of https://gitlab.com/python-discord/projects/site into... (diff) |
Merge branch 'snake_facts' into 'django'
Snake Facts API
See merge request python-discord/projects/site!41
Diffstat (limited to 'api/migrations')
-rw-r--r-- | api/migrations/0009_snakefact.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/api/migrations/0009_snakefact.py b/api/migrations/0009_snakefact.py new file mode 100644 index 00000000..966478a9 --- /dev/null +++ b/api/migrations/0009_snakefact.py @@ -0,0 +1,21 @@ +# Generated by Django 2.1.2 on 2018-10-11 14:25 + +import api.models +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('api', '0008_tag_embed_validator'), + ] + + operations = [ + migrations.CreateModel( + name='SnakeFact', + fields=[ + ('fact', models.CharField(help_text='A fact about snakes.', max_length=200, primary_key=True, serialize=False)), + ], + bases=(api.models.ModelReprMixin, models.Model), + ), + ] |