diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-02-11 11:54:35 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-02-11 11:54:35 +0100 |
commit | 69a1ed1e970b8a099c4eb6176f002aaf3072df36 (patch) | |
tree | c7757314791777e7a22894b3b662f01c3bf42f49 /ishtar_common/migrations | |
parent | 6605c6b65e6a0f1b1b0b67b1591f5919a5a5fb6e (diff) | |
download | Ishtar-69a1ed1e970b8a099c4eb6176f002aaf3072df36.tar.bz2 Ishtar-69a1ed1e970b8a099c4eb6176f002aaf3072df36.zip |
Fix an old migrations (master specific)
Diffstat (limited to 'ishtar_common/migrations')
-rw-r--r-- | ishtar_common/migrations/0030_auto__add_state__chg_field_sourcetype_txt_idx__chg_field_authortype_tx.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ishtar_common/migrations/0030_auto__add_state__chg_field_sourcetype_txt_idx__chg_field_authortype_tx.py b/ishtar_common/migrations/0030_auto__add_state__chg_field_sourcetype_txt_idx__chg_field_authortype_tx.py index 3f7a2e498..cd5d06576 100644 --- a/ishtar_common/migrations/0030_auto__add_state__chg_field_sourcetype_txt_idx__chg_field_authortype_tx.py +++ b/ishtar_common/migrations/0030_auto__add_state__chg_field_sourcetype_txt_idx__chg_field_authortype_tx.py @@ -33,6 +33,10 @@ class Migration(SchemaMigration): # Changing field 'OrganizationType.txt_idx' db.alter_column('ishtar_common_organizationtype', 'txt_idx', self.gf('django.db.models.fields.CharField')(unique=True, max_length=100)) + # Adding field 'ImporterColumn.description' + db.add_column('ishtar_common_importercolumn', 'description', + self.gf('django.db.models.fields.TextField')(null=True, blank=True), + keep_default=False) # Changing field 'SupportType.txt_idx' db.alter_column('ishtar_common_supporttype', 'txt_idx', self.gf('django.db.models.fields.CharField')(unique=True, max_length=100)) @@ -59,6 +63,9 @@ class Migration(SchemaMigration): # Changing field 'OrganizationType.txt_idx' db.alter_column('ishtar_common_organizationtype', 'txt_idx', self.gf('django.db.models.fields.CharField')(max_length=30, unique=True)) + # Deleting field 'ImporterColumn.description' + db.delete_column('ishtar_common_importercolumn', 'description') + # Changing field 'SupportType.txt_idx' db.alter_column('ishtar_common_supporttype', 'txt_idx', self.gf('django.db.models.fields.CharField')(max_length=30, unique=True)) @@ -204,6 +211,7 @@ class Migration(SchemaMigration): 'ishtar_common.importercolumn': { 'Meta': {'object_name': 'ImporterColumn'}, 'col_number': ('django.db.models.fields.IntegerField', [], {'default': '1'}), + 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'importer_type': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'columns'", 'to': "orm['ishtar_common.ImporterType']"}), 'regexp_pre_filter': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.Regexp']", 'null': 'True', 'blank': 'True'}), |