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', self.gf('django.db.models.fields.CharField')(max_length=64, null=True)),
16 ('description', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)),
18 db.send_create_signal('waiter', ['WaitedFile'])
21 def backwards(self, orm):
23 # Deleting model 'WaitedFile'
24 db.delete_table('waiter_waitedfile')
28 'waiter.waitedfile': {
29 'Meta': {'object_name': 'WaitedFile'},
30 'description': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
31 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
32 'path': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255', 'db_index': 'True'}),
33 'task': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True'})
37 complete_apps = ['waiter']