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):
11 # Adding field 'Level.group'
12 db.add_column('curriculum_level', 'group',
13 self.gf('django.db.models.fields.CharField')(default='', max_length=255),
17 def backwards(self, orm):
18 # Deleting field 'Level.group'
19 db.delete_column('curriculum_level', 'group')
23 'curriculum.competence': {
24 'Meta': {'ordering': "['order']", 'object_name': 'Competence'},
25 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
26 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
27 'order': ('django.db.models.fields.IntegerField', [], {}),
28 'section': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['curriculum.Section']"}),
29 'slug': ('django.db.models.fields.SlugField', [], {'max_length': '50'})
31 'curriculum.competencelevel': {
32 'Meta': {'ordering': "['competence', 'level']", 'object_name': 'CompetenceLevel'},
33 'competence': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['curriculum.Competence']"}),
34 'description': ('django.db.models.fields.TextField', [], {}),
35 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
36 'level': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['curriculum.Level']"})
39 'Meta': {'ordering': "['order']", 'object_name': 'Level'},
40 'group': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
41 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
42 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
43 'order': ('django.db.models.fields.IntegerField', [], {}),
44 'slug': ('django.db.models.fields.SlugField', [], {'max_length': '50'})
46 'curriculum.section': {
47 'Meta': {'ordering': "['order']", 'object_name': 'Section'},
48 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
49 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
50 'order': ('django.db.models.fields.IntegerField', [], {}),
51 'slug': ('django.db.models.fields.SlugField', [], {'max_length': '50'})
55 complete_apps = ['curriculum']