diff -r 342f180b09ec -r b6010b3d6ea8 src/hp/migrations/0001_initial.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/hp/migrations/0001_initial.py Wed Nov 14 16:29:01 2012 +0100 @@ -0,0 +1,36 @@ +# -*- 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 model 'VideoKCRel' + db.create_table('hp_videokcrel', ( + ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('iri_id', self.gf('django.db.models.fields.CharField')(unique=True, max_length=255)), + ('graph_id', self.gf('django.db.models.fields.CharField')(max_length=1024)), + ('topic_id', self.gf('django.db.models.fields.CharField')(max_length=1024)), + )) + db.send_create_signal('hp', ['VideoKCRel']) + + + def backwards(self, orm): + # Deleting model 'VideoKCRel' + db.delete_table('hp_videokcrel') + + + models = { + 'hp.videokcrel': { + 'Meta': {'object_name': 'VideoKCRel'}, + 'graph_id': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'iri_id': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), + 'topic_id': ('django.db.models.fields.CharField', [], {'max_length': '1024'}) + } + } + + complete_apps = ['hp'] \ No newline at end of file