<commit_before># -*- coding: utf-8 -*-
from south.db import db
from south.v2 import SchemaMigration


class Migration(SchemaMigration):

    def forwards(self, orm):

        # Changing field 'VariableDef.action_label'
        db.alter_column('wirecloud_variabledef', 'action_label', self.gf('django.db.models.fields.CharField')(max_length=50))

        # Changing field 'VariableDef.label'
        db.alter_column('wirecloud_variabledef', 'label', self.gf('django.db.models.fields.CharField')(max_length=150))

        # Changing field 'VariableDef.friend_code'
        db.alter_column('wirecloud_variabledef', 'friend_code', self.gf('django.db.models.fields.CharField')(max_length=30))

        # Changing field 'VariableDef.description'
        db.alter_column('wirecloud_variabledef', 'description', self.gf('django.db.models.fields.CharField')(max_length=250))

    def backwards(self, orm):

        # Changing field 'VariableDef.action_label'
        db.alter_column('wirecloud_variabledef', 'action_label', self.gf('django.db.models.fields.CharField')(max_length=50, null=True))

        # Changing field 'VariableDef.label'
        db.alter_column('wirecloud_variabledef', 'label', self.gf('django.db.models.fields.CharField')(max_length=150, null=True))

        # Changing field 'VariableDef.friend_code'
        db.alter_column('wirecloud_variabledef', 'friend_code', self.gf('django.db.models.fields.CharField')(max_length=30, null=True))

        # Changing field 'VariableDef.description'
        db.alter_column('wirecloud_variabledef', 'description', self.gf('django.db.models.fields.CharField')(max_length=250, null=True))

    models = {
        u'auth.group': {
            'Meta': {'object_name': 'Group'},
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
            'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})<commit_msg>Fix migration 0003 of wirecloud.platform<commit_after># -*- coding: utf-8 -*-
from south.db import db
from south.v2 import SchemaMigration


class Migration(SchemaMigration):

    def forwards(self, orm):

        # Changing field 'VariableDef.action_label'
        db.alter_column('wirecloud_variabledef', 'action_label', self.gf('django.db.models.fields.CharField')(max_length=50, default=''))

        # Changing field 'VariableDef.label'
        db.alter_column('wirecloud_variabledef', 'label', self.gf('django.db.models.fields.CharField')(max_length=150, default=''))

        # Changing field 'VariableDef.friend_code'
        db.alter_column('wirecloud_variabledef', 'friend_code', self.gf('django.db.models.fields.CharField')(max_length=30, default=''))

        # Changing field 'VariableDef.description'
        db.alter_column('wirecloud_variabledef', 'description', self.gf('django.db.models.fields.CharField')(max_length=250, default=''))

    def backwards(self, orm):

        # Changing field 'VariableDef.action_label'
        db.alter_column('wirecloud_variabledef', 'action_label', self.gf('django.db.models.fields.CharField')(max_length=50, null=True))

        # Changing field 'VariableDef.label'
        db.alter_column('wirecloud_variabledef', 'label', self.gf('django.db.models.fields.CharField')(max_length=150, null=True))

        # Changing field 'VariableDef.friend_code'
        db.alter_column('wirecloud_variabledef', 'friend_code', self.gf('django.db.models.fields.CharField')(max_length=30, null=True))

        # Changing field 'VariableDef.description'
        db.alter_column('wirecloud_variabledef', 'description', self.gf('django.db.models.fields.CharField')(max_length=250, null=True))

    models = {
        u'auth.group': {
            'Meta': {'object_name': 'Group'},
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
            'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
{'fraction_non_alphanumeric': 0.16537285344624794, 'fraction_numerical': 0.012232415902140673, 'mean_word_length': 4.301745635910224, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2899197', 'n_tokens_mistral': 1386, 'n_tokens_neox': 1300, 'n_words': 195}