diff options
Diffstat (limited to 'sbhs_server/tables/migrations/0004_add_field_Experiment_checksum.py')
-rw-r--r-- | sbhs_server/tables/migrations/0004_add_field_Experiment_checksum.py | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/sbhs_server/tables/migrations/0004_add_field_Experiment_checksum.py b/sbhs_server/tables/migrations/0004_add_field_Experiment_checksum.py deleted file mode 100644 index 7f17e89..0000000 --- a/sbhs_server/tables/migrations/0004_add_field_Experiment_checksum.py +++ /dev/null @@ -1,80 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as 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 'Experiment.checksum' - db.add_column(u'tables_experiment', 'checksum', - self.gf('django.db.models.fields.CharField')(default='NONE', max_length=255), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Experiment.checksum' - db.delete_column(u'tables_experiment', 'checksum') - - - models = { - u'tables.account': { - 'Meta': {'object_name': 'Account'}, - 'board': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['tables.Board']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'trashed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '127'}) - }, - u'tables.board': { - 'Meta': {'object_name': 'Board'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mid': ('django.db.models.fields.IntegerField', [], {'unique': 'True'}), - 'online': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'trashed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - u'tables.booking': { - 'Meta': {'object_name': 'Booking'}, - 'account': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['tables.Account']"}), - 'booking_date': ('django.db.models.fields.DateTimeField', [], {}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'slot': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['tables.Slot']"}), - 'trashed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - u'tables.experiment': { - 'Meta': {'object_name': 'Experiment'}, - 'booking': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['tables.Booking']"}), - 'checksum': ('django.db.models.fields.CharField', [], {'default': "'NONE'", 'max_length': '255'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'log': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'trashed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - u'tables.slot': { - 'Meta': {'object_name': 'Slot'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'end_hour': ('django.db.models.fields.IntegerField', [], {}), - 'end_minute': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'start_hour': ('django.db.models.fields.IntegerField', [], {}), - 'start_minute': ('django.db.models.fields.IntegerField', [], {}), - 'trashed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - } - } - - complete_apps = ['tables']
\ No newline at end of file |