From be211d7f3921948a4694de2a6c0e3bf2e7b96ed4 Mon Sep 17 00:00:00 2001 From: Zane Adickes Date: Mon, 6 Apr 2015 00:30:23 -0400 Subject: [PATCH] Some Migration? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I dunno. Git is telling me this changed but I don’t think it did. --- pokemon_v2/migrations/0001_initial.py | 40 +++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 pokemon_v2/migrations/0001_initial.py diff --git a/pokemon_v2/migrations/0001_initial.py b/pokemon_v2/migrations/0001_initial.py new file mode 100644 index 00000000..00566840 --- /dev/null +++ b/pokemon_v2/migrations/0001_initial.py @@ -0,0 +1,40 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import models, migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ] + + operations = [ + migrations.CreateModel( + name='Language', + fields=[ + ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('iso639', models.CharField(max_length=2)), + ('iso3166', models.CharField(max_length=2)), + ('name', models.CharField(max_length=10)), + ('official', models.BooleanField()), + ('order', models.IntegerField()), + ], + options={ + }, + bases=(models.Model,), + ), + migrations.CreateModel( + name='LanguageName', + fields=[ + ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('local_language_id', models.IntegerField()), + ('name', models.CharField(max_length=30)), + ('language_id', models.IntegerField()), + ], + options={ + 'abstract': False, + }, + bases=(models.Model,), + ), + ]