Revision f46c95c4 snf-astakos-app/astakos/im/migrations/0021_auto__add_field_astakosgroupquota_uplimit__add_field_astakosuserquota_.py
b/snf-astakos-app/astakos/im/migrations/0021_auto__add_field_astakosgroupquota_uplimit__add_field_astakosuserquota_.py | ||
---|---|---|
4 | 4 |
from south.v2 import SchemaMigration |
5 | 5 |
from django.db import models |
6 | 6 |
|
7 |
|
|
7 | 8 |
class Migration(SchemaMigration): |
8 | 9 |
|
9 | 10 |
def forwards(self, orm): |
10 |
|
|
11 |
|
|
11 | 12 |
# Adding field 'AstakosGroupQuota.uplimit' |
12 | 13 |
db.add_column('im_astakosgroupquota', 'uplimit', self.gf('django.db.models.fields.BigIntegerField')(null=True), keep_default=False) |
13 | 14 |
|
14 | 15 |
# Adding field 'AstakosUserQuota.uplimit' |
15 | 16 |
db.add_column('im_astakosuserquota', 'uplimit', self.gf('django.db.models.fields.BigIntegerField')(null=True), keep_default=False) |
16 | 17 |
|
17 |
|
|
18 | 18 |
def backwards(self, orm): |
19 |
|
|
19 |
|
|
20 | 20 |
# Deleting field 'AstakosGroupQuota.uplimit' |
21 | 21 |
db.delete_column('im_astakosgroupquota', 'uplimit') |
22 | 22 |
|
23 | 23 |
# Deleting field 'AstakosUserQuota.uplimit' |
24 | 24 |
db.delete_column('im_astakosuserquota', 'uplimit') |
25 | 25 |
|
26 |
|
|
27 | 26 |
models = { |
28 | 27 |
'auth.group': { |
29 | 28 |
'Meta': {'object_name': 'Group'}, |
Also available in: Unified diff