diff options
author | 2018-10-22 11:22:48 +0100 | |
---|---|---|
committer | 2018-10-22 11:22:48 +0100 | |
commit | 0766dab8306d24b22550e1a4a054ff3f2956a0b1 (patch) | |
tree | a3503b68c70154a1cad8b454ccf4269b560c2136 /api/migrations | |
parent | fixed linting issues (diff) |
Added special snakes api
Diffstat (limited to 'api/migrations')
-rw-r--r-- | api/migrations/0012_specialsnake.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/api/migrations/0012_specialsnake.py b/api/migrations/0012_specialsnake.py new file mode 100644 index 00000000..9c6e8305 --- /dev/null +++ b/api/migrations/0012_specialsnake.py @@ -0,0 +1,22 @@ +# Generated by Django 2.1.2 on 2018-10-22 09:53 + +import api.models +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('api', '0011_auto_20181020_1904'), + ] + + operations = [ + migrations.CreateModel( + name='SpecialSnake', + fields=[ + ('name', models.CharField(max_length=140, primary_key=True, serialize=False)), + ('info', models.TextField()), + ], + bases=(api.models.ModelReprMixin, models.Model), + ), + ] |