diff options
author | Dan McGee <dan@archlinux.org> | 2012-04-26 11:53:49 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-04-26 11:53:49 -0500 |
commit | 7f2ed459e92b56c28a8ca50292e95a42987544d4 (patch) | |
tree | 36b31d66078b803dd1a6ef071fafc27ec9d2fe9a /mirrors/migrations/0009_auto__chg_field_mirrorurl_country.py | |
parent | 4dcfaddff526dca2828571326aa7263a3272fcdf (diff) |
Remove now-unused NullCharField
It would be straightforward if we just needed to remove the field class
definition, but we also need to update all migrations that referenced it
so we don't have problems starting and migrating from scratch.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mirrors/migrations/0009_auto__chg_field_mirrorurl_country.py')
-rw-r--r-- | mirrors/migrations/0009_auto__chg_field_mirrorurl_country.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mirrors/migrations/0009_auto__chg_field_mirrorurl_country.py b/mirrors/migrations/0009_auto__chg_field_mirrorurl_country.py index 941ecfbb..bca6b6fb 100644 --- a/mirrors/migrations/0009_auto__chg_field_mirrorurl_country.py +++ b/mirrors/migrations/0009_auto__chg_field_mirrorurl_country.py @@ -7,11 +7,11 @@ from django.db import models class Migration(SchemaMigration): def forwards(self, orm): - db.alter_column('mirrors_mirrorurl', 'country', self.gf('mirrors.models.NullCharField')(max_length=255, null=True)) + pass def backwards(self, orm): - db.alter_column('mirrors_mirrorurl', 'country', self.gf('django.db.models.fields.CharField')(max_length=255, null=True)) + pass models = { 'mirrors.mirror': { @@ -53,7 +53,7 @@ class Migration(SchemaMigration): }, 'mirrors.mirrorurl': { 'Meta': {'object_name': 'MirrorUrl'}, - 'country': ('mirrors.models.NullCharField', [], {'db_index': 'True', 'max_length': '255', 'null': 'True', 'blank': 'True'}), + 'country': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '255', 'null': 'True', 'blank': 'True'}), 'has_ipv4': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), 'has_ipv6': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |