1 # -*- coding: utf-8 -*-
3 from south.db import db
4 from south.v2 import SchemaMigration
5 from django.db import models
8 class Migration(SchemaMigration):
10 def forwards(self, orm):
12 db.create_table(u'words_word', (
13 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
14 ('word', self.gf('django.db.models.fields.CharField')(max_length=255)),
15 ('slug', self.gf('django.db.models.fields.SlugField')(unique=True, max_length=50)),
16 ('alignment', self.gf('django.db.models.fields.CharField')(max_length=64)),
17 ('examples', self.gf('django.db.models.fields.TextField')()),
18 ('usage', self.gf('django.db.models.fields.TextField')()),
19 ('recommendations', self.gf('django.db.models.fields.TextField')()),
21 db.send_create_signal(u'words', ['Word'])
24 def backwards(self, orm):
25 # Deleting model 'Word'
26 db.delete_table(u'words_word')
31 'Meta': {'object_name': 'Word'},
32 'alignment': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
33 'examples': ('django.db.models.fields.TextField', [], {}),
34 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
35 'recommendations': ('django.db.models.fields.TextField', [], {}),
36 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}),
37 'usage': ('django.db.models.fields.TextField', [], {}),
38 'word': ('django.db.models.fields.CharField', [], {'max_length': '255'})
42 complete_apps = ['words']