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 'PendingSlice.created'
12 db.add_column(u'portal_pendingslice', 'created',
13 self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, default=datetime.datetime(2013, 10, 25, 0, 0), blank=True),
17 def backwards(self, orm):
18 # Deleting field 'PendingSlice.created'
19 db.delete_column(u'portal_pendingslice', 'created')
23 u'portal.institution': {
24 'Meta': {'object_name': 'Institution'},
25 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
26 'name': ('django.db.models.fields.TextField', [], {})
28 u'portal.pendingslice': {
29 'Meta': {'object_name': 'PendingSlice'},
30 'authority_hrn': ('django.db.models.fields.TextField', [], {'null': 'True'}),
31 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
32 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
33 'number_of_nodes': ('django.db.models.fields.TextField', [], {'default': '0'}),
34 'purpose': ('django.db.models.fields.TextField', [], {'default': "'NA'"}),
35 'slice_name': ('django.db.models.fields.TextField', [], {}),
36 'type_of_nodes': ('django.db.models.fields.TextField', [], {'default': "'NA'"})
38 u'portal.pendinguser': {
39 'Meta': {'object_name': 'PendingUser'},
40 'authority_hrn': ('django.db.models.fields.TextField', [], {}),
41 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
42 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
43 'first_name': ('django.db.models.fields.TextField', [], {}),
44 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
45 'keypair': ('django.db.models.fields.TextField', [], {}),
46 'last_name': ('django.db.models.fields.TextField', [], {}),
47 'login': ('django.db.models.fields.TextField', [], {}),
48 'password': ('django.db.models.fields.TextField', [], {})
52 complete_apps = ['portal']