3 from south.db import db
4 from south.v2 import SchemaMigration
5 from django.db import models
7 class Migration(SchemaMigration):
9 def forwards(self, orm):
11 # Adding model 'WaitedFile'
12 db.create_table('waiter_waitedfile', (
13 ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
14 ('path', self.gf('django.db.models.fields.CharField')(unique=True, max_length=255, db_index=True)),
15 ('task_id', self.gf('django.db.models.fields.CharField')(db_index=True, max_length=128, null=True, blank=True)),
16 ('task', self.gf('picklefield.fields.PickledObjectField')(null=True)),
17 ('description', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)),
19 db.send_create_signal('waiter', ['WaitedFile'])
22 def backwards(self, orm):
24 # Deleting model 'WaitedFile'
25 db.delete_table('waiter_waitedfile')
29 'waiter.waitedfile': {
30 'Meta': {'object_name': 'WaitedFile'},
31 'description': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
32 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
33 'path': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255', 'db_index': 'True'}),
34 'task': ('picklefield.fields.PickledObjectField', [], {'null': 'True'}),
35 'task_id': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '128', 'null': 'True', 'blank': 'True'})
39 complete_apps = ['waiter']