X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/d0f0e1412cc42d366b234e798dfb68feed05d751..d555d988764995ea1f9f5ece46f453a66f09b334:/wtem/migrations/0002_auto__add_field_submission_key_sent.py diff --git a/wtem/migrations/0002_auto__add_field_submission_key_sent.py b/wtem/migrations/0002_auto__add_field_submission_key_sent.py deleted file mode 100644 index 825da07..0000000 --- a/wtem/migrations/0002_auto__add_field_submission_key_sent.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding field 'Submission.key_sent' - db.add_column(u'wtem_submission', 'key_sent', - self.gf('django.db.models.fields.BooleanField')(default=False), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Submission.key_sent' - db.delete_column(u'wtem_submission', 'key_sent') - - - models = { - u'contact.contact': { - 'Meta': {'ordering': "('-created_at',)", 'object_name': 'Contact'}, - 'body': ('jsonfield.fields.JSONField', [], {'default': '{}'}), - 'contact': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'form_tag': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}) - }, - u'wtem.attachment': { - 'Meta': {'object_name': 'Attachment'}, - 'file': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'submission': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['wtem.Submission']"}) - }, - u'wtem.submission': { - 'Meta': {'object_name': 'Submission'}, - 'answers': ('django.db.models.fields.CharField', [], {'max_length': '65536', 'null': 'True', 'blank': 'True'}), - 'contact': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contact.Contact']", 'null': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '100'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'key_sent': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - } - } - - complete_apps = ['wtem'] \ No newline at end of file