Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im / migrations / 0018_auto__chg_field_approvalterms_date__chg_field_project_creation_date__c.py @ b052f360

History | View | Annotate | Download (24.8 kB)

1
# encoding: utf-8
2
import datetime
3
from south.db import db
4
from south.v2 import SchemaMigration
5
from django.db import models
6

    
7
class Migration(SchemaMigration):
8

    
9
    def forwards(self, orm):
10
        
11
        # Removing unique constraint on 'ProjectApplication', fields ['precursor_application']
12
        db.delete_unique('im_projectapplication', ['precursor_application_id'])
13

    
14
        # Changing field 'ApprovalTerms.date'
15
        db.alter_column('im_approvalterms', 'date', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True))
16

    
17
        # Changing field 'Project.creation_date'
18
        db.alter_column('im_project', 'creation_date', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True))
19

    
20
        # Changing field 'ProjectMembership.request_date'
21
        db.alter_column('im_projectmembership', 'request_date', self.gf('django.db.models.fields.DateField')(auto_now_add=True))
22

    
23
        # Changing field 'ProjectMembershipHistory.date'
24
        db.alter_column('im_projectmembershiphistory', 'date', self.gf('django.db.models.fields.DateField')(auto_now_add=True))
25

    
26
        # Changing field 'EmailChange.requested_at'
27
        db.alter_column('im_emailchange', 'requested_at', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True))
28

    
29
        # Adding field 'ProjectApplication.response_date'
30
        db.add_column('im_projectapplication', 'response_date', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True), keep_default=False)
31

    
32
        # Changing field 'ProjectApplication.issue_date'
33
        db.alter_column('im_projectapplication', 'issue_date', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True))
34

    
35
        # Changing field 'ProjectApplication.precursor_application'
36
        db.alter_column('im_projectapplication', 'precursor_application_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['im.ProjectApplication'], null=True))
37

    
38

    
39
    def backwards(self, orm):
40
        
41
        # Changing field 'ApprovalTerms.date'
42
        db.alter_column('im_approvalterms', 'date', self.gf('django.db.models.fields.DateTimeField')())
43

    
44
        # Changing field 'Project.creation_date'
45
        db.alter_column('im_project', 'creation_date', self.gf('django.db.models.fields.DateTimeField')())
46

    
47
        # Changing field 'ProjectMembership.request_date'
48
        db.alter_column('im_projectmembership', 'request_date', self.gf('django.db.models.fields.DateField')())
49

    
50
        # Changing field 'ProjectMembershipHistory.date'
51
        db.alter_column('im_projectmembershiphistory', 'date', self.gf('django.db.models.fields.DateField')())
52

    
53
        # Changing field 'EmailChange.requested_at'
54
        db.alter_column('im_emailchange', 'requested_at', self.gf('django.db.models.fields.DateTimeField')())
55

    
56
        # Deleting field 'ProjectApplication.response_date'
57
        db.delete_column('im_projectapplication', 'response_date')
58

    
59
        # Changing field 'ProjectApplication.issue_date'
60
        db.alter_column('im_projectapplication', 'issue_date', self.gf('django.db.models.fields.DateTimeField')())
61

    
62
        # Changing field 'ProjectApplication.precursor_application'
63
        db.alter_column('im_projectapplication', 'precursor_application_id', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['im.ProjectApplication'], unique=True, null=True))
64

    
65
        # Adding unique constraint on 'ProjectApplication', fields ['precursor_application']
66
        db.create_unique('im_projectapplication', ['precursor_application_id'])
67

    
68

    
69
    models = {
70
        'auth.group': {
71
            'Meta': {'object_name': 'Group'},
72
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
73
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
74
            'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
75
        },
76
        'auth.permission': {
77
            'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
78
            'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
79
            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
80
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
81
            'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
82
        },
83
        'auth.user': {
84
            'Meta': {'object_name': 'User'},
85
            'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
86
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
87
            'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
88
            'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
89
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
90
            'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
91
            'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
92
            'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
93
            'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
94
            'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
95
            'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
96
            'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
97
            'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
98
        },
99
        'contenttypes.contenttype': {
100
            'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
101
            'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
102
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
103
            'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
104
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
105
        },
106
        'im.additionalmail': {
107
            'Meta': {'object_name': 'AdditionalMail'},
108
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
109
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
110
            'owner': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['im.AstakosUser']"})
111
        },
112
        'im.approvalterms': {
113
            'Meta': {'object_name': 'ApprovalTerms'},
114
            'date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'db_index': 'True', 'blank': 'True'}),
115
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
116
            'location': ('django.db.models.fields.CharField', [], {'max_length': '255'})
117
        },
118
        'im.astakosuser': {
119
            'Meta': {'object_name': 'AstakosUser', '_ormbases': ['auth.User']},
120
            'activation_sent': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
121
            'affiliation': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
122
            'auth_token': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}),
123
            'auth_token_created': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
124
            'auth_token_expires': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
125
            'date_signed_terms': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
126
            'disturbed_quota': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}),
127
            'email_verified': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
128
            'has_credits': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
129
            'has_signed_terms': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
130
            'invitations': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
131
            'is_verified': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
132
            'level': ('django.db.models.fields.IntegerField', [], {'default': '4'}),
133
            'policy': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['im.Resource']", 'null': 'True', 'through': "orm['im.AstakosUserQuota']", 'symmetrical': 'False'}),
134
            'provider': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
135
            'third_party_identifier': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
136
            'updated': ('django.db.models.fields.DateTimeField', [], {}),
137
            'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}),
138
            'uuid': ('django.db.models.fields.CharField', [], {'max_length': '255', 'unique': 'True', 'null': 'True'})
139
        },
140
        'im.astakosuserauthprovider': {
141
            'Meta': {'ordering': "('module', 'created')", 'unique_together': "(('identifier', 'module', 'user'),)", 'object_name': 'AstakosUserAuthProvider'},
142
            'active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
143
            'affiliation': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}),
144
            'auth_backend': ('django.db.models.fields.CharField', [], {'default': "'astakos'", 'max_length': '255'}),
145
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
146
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
147
            'identifier': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
148
            'info_data': ('django.db.models.fields.TextField', [], {'default': "''", 'null': 'True', 'blank': 'True'}),
149
            'module': ('django.db.models.fields.CharField', [], {'default': "'local'", 'max_length': '255'}),
150
            'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_providers'", 'to': "orm['im.AstakosUser']"})
151
        },
152
        'im.astakosuserquota': {
153
            'Meta': {'unique_together': "(('resource', 'user'),)", 'object_name': 'AstakosUserQuota'},
154
            'capacity': ('snf_django.lib.db.fields.IntDecimalField', [], {'max_digits': '38', 'decimal_places': '0'}),
155
            'export_limit': ('snf_django.lib.db.fields.IntDecimalField', [], {'default': '100000000000000000000000000000000L', 'max_digits': '38', 'decimal_places': '0'}),
156
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
157
            'import_limit': ('snf_django.lib.db.fields.IntDecimalField', [], {'default': '100000000000000000000000000000000L', 'max_digits': '38', 'decimal_places': '0'}),
158
            'quantity': ('snf_django.lib.db.fields.IntDecimalField', [], {'default': '0', 'max_digits': '38', 'decimal_places': '0'}),
159
            'resource': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['im.Resource']"}),
160
            'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['im.AstakosUser']"})
161
        },
162
        'im.chain': {
163
            'Meta': {'object_name': 'Chain'},
164
            'chain': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
165
        },
166
        'im.emailchange': {
167
            'Meta': {'object_name': 'EmailChange'},
168
            'activation_key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '40', 'db_index': 'True'}),
169
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
170
            'new_email_address': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
171
            'requested_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
172
            'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'emailchanges'", 'unique': 'True', 'to': "orm['im.AstakosUser']"})
173
        },
174
        'im.invitation': {
175
            'Meta': {'object_name': 'Invitation'},
176
            'code': ('django.db.models.fields.BigIntegerField', [], {'db_index': 'True'}),
177
            'consumed': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
178
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
179
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
180
            'inviter': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'invitations_sent'", 'null': 'True', 'to': "orm['im.AstakosUser']"}),
181
            'is_consumed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
182
            'realname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
183
            'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
184
        },
185
        'im.pendingthirdpartyuser': {
186
            'Meta': {'unique_together': "(('provider', 'third_party_identifier'),)", 'object_name': 'PendingThirdPartyUser'},
187
            'affiliation': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
188
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'null': 'True', 'blank': 'True'}),
189
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}),
190
            'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}),
191
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
192
            'info': ('django.db.models.fields.TextField', [], {'default': "''", 'null': 'True', 'blank': 'True'}),
193
            'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}),
194
            'provider': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
195
            'third_party_identifier': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
196
            'token': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
197
            'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
198
        },
199
        'im.project': {
200
            'Meta': {'object_name': 'Project'},
201
            'application': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'project'", 'unique': 'True', 'to': "orm['im.ProjectApplication']"}),
202
            'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
203
            'deactivation_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
204
            'deactivation_reason': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
205
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
206
            'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'db_index': 'True'}),
207
            'is_modified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}),
208
            'last_approval_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
209
            'members': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['im.AstakosUser']", 'through': "orm['im.ProjectMembership']", 'symmetrical': 'False'}),
210
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80', 'db_index': 'True'}),
211
            'state': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_index': 'True'})
212
        },
213
        'im.projectapplication': {
214
            'Meta': {'unique_together': "(('chain', 'id'),)", 'object_name': 'ProjectApplication'},
215
            'applicant': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'projects_applied'", 'to': "orm['im.AstakosUser']"}),
216
            'chain': ('django.db.models.fields.IntegerField', [], {}),
217
            'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
218
            'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
219
            'end_date': ('django.db.models.fields.DateTimeField', [], {}),
220
            'homepage': ('django.db.models.fields.URLField', [], {'max_length': '255', 'null': 'True'}),
221
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
222
            'issue_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
223
            'limit_on_members_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True'}),
224
            'member_join_policy': ('django.db.models.fields.IntegerField', [], {}),
225
            'member_leave_policy': ('django.db.models.fields.IntegerField', [], {}),
226
            'name': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
227
            'owner': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'projects_owned'", 'to': "orm['im.AstakosUser']"}),
228
            'precursor_application': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['im.ProjectApplication']", 'null': 'True', 'blank': 'True'}),
229
            'resource_grants': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['im.Resource']", 'null': 'True', 'through': "orm['im.ProjectResourceGrant']", 'blank': 'True'}),
230
            'response_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
231
            'start_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
232
            'state': ('django.db.models.fields.IntegerField', [], {'default': '0'})
233
        },
234
        'im.projectmembership': {
235
            'Meta': {'unique_together': "(('person', 'project'),)", 'object_name': 'ProjectMembership'},
236
            'acceptance_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'db_index': 'True'}),
237
            'application': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'memberships'", 'null': 'True', 'to': "orm['im.ProjectApplication']"}),
238
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
239
            'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}),
240
            'is_pending': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}),
241
            'leave_request_date': ('django.db.models.fields.DateField', [], {'null': 'True'}),
242
            'pending_application': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_memebrships'", 'null': 'True', 'to': "orm['im.ProjectApplication']"}),
243
            'pending_serial': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'db_index': 'True'}),
244
            'person': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['im.AstakosUser']"}),
245
            'project': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['im.Project']"}),
246
            'request_date': ('django.db.models.fields.DateField', [], {'auto_now_add': 'True', 'blank': 'True'}),
247
            'state': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'})
248
        },
249
        'im.projectmembershiphistory': {
250
            'Meta': {'object_name': 'ProjectMembershipHistory'},
251
            'date': ('django.db.models.fields.DateField', [], {'auto_now_add': 'True', 'blank': 'True'}),
252
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
253
            'person': ('django.db.models.fields.BigIntegerField', [], {}),
254
            'project': ('django.db.models.fields.BigIntegerField', [], {}),
255
            'reason': ('django.db.models.fields.IntegerField', [], {}),
256
            'serial': ('django.db.models.fields.BigIntegerField', [], {})
257
        },
258
        'im.projectresourcegrant': {
259
            'Meta': {'unique_together': "(('resource', 'project_application'),)", 'object_name': 'ProjectResourceGrant'},
260
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
261
            'member_capacity': ('snf_django.lib.db.fields.IntDecimalField', [], {'default': '100000000000000000000000000000000L', 'max_digits': '38', 'decimal_places': '0'}),
262
            'member_export_limit': ('snf_django.lib.db.fields.IntDecimalField', [], {'default': '100000000000000000000000000000000L', 'max_digits': '38', 'decimal_places': '0'}),
263
            'member_import_limit': ('snf_django.lib.db.fields.IntDecimalField', [], {'default': '100000000000000000000000000000000L', 'max_digits': '38', 'decimal_places': '0'}),
264
            'project_application': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['im.ProjectApplication']", 'null': 'True'}),
265
            'project_capacity': ('snf_django.lib.db.fields.IntDecimalField', [], {'default': '100000000000000000000000000000000L', 'max_digits': '38', 'decimal_places': '0'}),
266
            'project_export_limit': ('snf_django.lib.db.fields.IntDecimalField', [], {'default': '100000000000000000000000000000000L', 'max_digits': '38', 'decimal_places': '0'}),
267
            'project_import_limit': ('snf_django.lib.db.fields.IntDecimalField', [], {'default': '100000000000000000000000000000000L', 'max_digits': '38', 'decimal_places': '0'}),
268
            'resource': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['im.Resource']"})
269
        },
270
        'im.resource': {
271
            'Meta': {'unique_together': "(('service', 'name'),)", 'object_name': 'Resource'},
272
            'desc': ('django.db.models.fields.TextField', [], {'null': 'True'}),
273
            'group': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
274
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
275
            'meta': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['im.ResourceMetadata']", 'symmetrical': 'False'}),
276
            'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
277
            'service': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['im.Service']"}),
278
            'unit': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
279
            'uplimit': ('snf_django.lib.db.fields.IntDecimalField', [], {'default': '0', 'max_digits': '38', 'decimal_places': '0'})
280
        },
281
        'im.resourcemetadata': {
282
            'Meta': {'object_name': 'ResourceMetadata'},
283
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
284
            'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255', 'db_index': 'True'}),
285
            'value': ('django.db.models.fields.CharField', [], {'max_length': '255'})
286
        },
287
        'im.serial': {
288
            'Meta': {'object_name': 'Serial'},
289
            'serial': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
290
        },
291
        'im.service': {
292
            'Meta': {'ordering': "('order',)", 'object_name': 'Service'},
293
            'auth_token': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}),
294
            'auth_token_created': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
295
            'auth_token_expires': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
296
            'icon': ('django.db.models.fields.FilePathField', [], {'max_length': '100', 'blank': 'True'}),
297
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
298
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255', 'db_index': 'True'}),
299
            'order': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
300
            'url': ('django.db.models.fields.FilePathField', [], {'max_length': '100'})
301
        },
302
        'im.sessioncatalog': {
303
            'Meta': {'object_name': 'SessionCatalog'},
304
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
305
            'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}),
306
            'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'sessions'", 'null': 'True', 'to': "orm['im.AstakosUser']"})
307
        }
308
    }
309

    
310
    complete_apps = ['im']