+# -*- coding: utf-8 -*-
+import datetime
+from south.db import db
+from south.v2 import SchemaMigration
+from django.db import models
+
+
+class Migration(SchemaMigration):
+
+ def forwards(self, orm):
+ # Adding field 'CompetenceLevel.description_pl'
+ db.add_column(u'curriculum_competencelevel', 'description_pl',
+ self.gf('django.db.models.fields.TextField')(null=True),
+ keep_default=False)
+
+ # Adding field 'CompetenceLevel.description_en'
+ db.add_column(u'curriculum_competencelevel', 'description_en',
+ self.gf('django.db.models.fields.TextField')(null=True),
+ keep_default=False)
+
+ # Adding field 'Section.name_pl'
+ db.add_column(u'curriculum_section', 'name_pl',
+ self.gf('django.db.models.fields.CharField')(max_length=255, null=True),
+ keep_default=False)
+
+ # Adding field 'Section.name_en'
+ db.add_column(u'curriculum_section', 'name_en',
+ self.gf('django.db.models.fields.CharField')(max_length=255, null=True),
+ keep_default=False)
+
+ # Adding field 'Competence.name_pl'
+ db.add_column(u'curriculum_competence', 'name_pl',
+ self.gf('django.db.models.fields.CharField')(max_length=255, null=True),
+ keep_default=False)
+
+ # Adding field 'Competence.name_en'
+ db.add_column(u'curriculum_competence', 'name_en',
+ self.gf('django.db.models.fields.CharField')(max_length=255, null=True),
+ keep_default=False)
+
+ # Adding field 'Level.name_pl'
+ db.add_column(u'curriculum_level', 'name_pl',
+ self.gf('django.db.models.fields.CharField')(max_length=255, null=True),
+ keep_default=False)
+
+ # Adding field 'Level.name_en'
+ db.add_column(u'curriculum_level', 'name_en',
+ self.gf('django.db.models.fields.CharField')(max_length=255, null=True),
+ keep_default=False)
+
+ # Adding field 'Level.group_pl'
+ db.add_column(u'curriculum_level', 'group_pl',
+ self.gf('django.db.models.fields.CharField')(max_length=255, null=True),
+ keep_default=False)
+
+ # Adding field 'Level.group_en'
+ db.add_column(u'curriculum_level', 'group_en',
+ self.gf('django.db.models.fields.CharField')(max_length=255, null=True),
+ keep_default=False)
+
+
+ def backwards(self, orm):
+ # Deleting field 'CompetenceLevel.description_pl'
+ db.delete_column(u'curriculum_competencelevel', 'description_pl')
+
+ # Deleting field 'CompetenceLevel.description_en'
+ db.delete_column(u'curriculum_competencelevel', 'description_en')
+
+ # Deleting field 'Section.name_pl'
+ db.delete_column(u'curriculum_section', 'name_pl')
+
+ # Deleting field 'Section.name_en'
+ db.delete_column(u'curriculum_section', 'name_en')
+
+ # Deleting field 'Competence.name_pl'
+ db.delete_column(u'curriculum_competence', 'name_pl')
+
+ # Deleting field 'Competence.name_en'
+ db.delete_column(u'curriculum_competence', 'name_en')
+
+ # Deleting field 'Level.name_pl'
+ db.delete_column(u'curriculum_level', 'name_pl')
+
+ # Deleting field 'Level.name_en'
+ db.delete_column(u'curriculum_level', 'name_en')
+
+ # Deleting field 'Level.group_pl'
+ db.delete_column(u'curriculum_level', 'group_pl')
+
+ # Deleting field 'Level.group_en'
+ db.delete_column(u'curriculum_level', 'group_en')
+
+
+ models = {
+ u'curriculum.competence': {
+ 'Meta': {'ordering': "['section', 'order']", 'object_name': 'Competence'},
+ u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+ 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
+ 'name_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
+ 'name_pl': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
+ 'order': ('django.db.models.fields.IntegerField', [], {}),
+ 'section': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['curriculum.Section']"}),
+ 'slug': ('django.db.models.fields.SlugField', [], {'max_length': '50'})
+ },
+ u'curriculum.competencelevel': {
+ 'Meta': {'ordering': "['competence', 'level']", 'object_name': 'CompetenceLevel'},
+ 'competence': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['curriculum.Competence']"}),
+ 'description': ('django.db.models.fields.TextField', [], {}),
+ 'description_en': ('django.db.models.fields.TextField', [], {'null': 'True'}),
+ 'description_pl': ('django.db.models.fields.TextField', [], {'null': 'True'}),
+ u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+ 'level': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['curriculum.Level']"})
+ },
+ u'curriculum.curriculum': {
+ 'Meta': {'object_name': 'Curriculum'},
+ 'course': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['curriculum.CurriculumCourse']"}),
+ u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+ 'identifier': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
+ 'level': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['curriculum.CurriculumLevel']"}),
+ 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
+ 'type': ('django.db.models.fields.CharField', [], {'max_length': '16'})
+ },
+ u'curriculum.curriculumcourse': {
+ 'Meta': {'ordering': "['slug']", 'object_name': 'CurriculumCourse'},
+ 'accusative': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
+ u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+ 'slug': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
+ 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'})
+ },
+ u'curriculum.curriculumlevel': {
+ 'Meta': {'object_name': 'CurriculumLevel'},
+ u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+ 'title': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_index': 'True'})
+ },
+ u'curriculum.level': {
+ 'Meta': {'ordering': "['order']", 'object_name': 'Level'},
+ 'group': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
+ 'group_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
+ 'group_pl': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
+ u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+ 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
+ 'name_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
+ 'name_pl': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
+ 'order': ('django.db.models.fields.IntegerField', [], {}),
+ 'slug': ('django.db.models.fields.CharField', [], {'max_length': '255'})
+ },
+ u'curriculum.section': {
+ 'Meta': {'ordering': "['order']", 'object_name': 'Section'},
+ u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+ 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
+ 'name_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
+ 'name_pl': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
+ 'order': ('django.db.models.fields.IntegerField', [], {}),
+ 'slug': ('django.db.models.fields.SlugField', [], {'max_length': '50'})
+ }
+ }
+
+ complete_apps = ['curriculum']
\ No newline at end of file