--- /dev/null
+# encoding: 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 model 'Booking'
+ db.create_table('tickets_booking', (
+ ('tickets', self.gf('django.db.models.fields.IntegerField')()),
+ ('name', self.gf('django.db.models.fields.CharField')(max_length=100)),
+ ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)),
+ ('address1', self.gf('django.db.models.fields.CharField')(max_length=50)),
+ ('address2', self.gf('django.db.models.fields.CharField')(max_length=50)),
+ ('show', self.gf('django.db.models.fields.CharField')(max_length=50)),
+ ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+ ('email', self.gf('django.db.models.fields.EmailField')(max_length=75)),
+ ))
+ db.send_create_signal('tickets', ['Booking'])
+
+
+ def backwards(self, orm):
+
+ # Deleting model 'Booking'
+ db.delete_table('tickets_booking')
+
+
+ models = {
+ 'tickets.booking': {
+ 'Meta': {'object_name': 'Booking'},
+ 'address1': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
+ 'address2': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
+ 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
+ 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
+ 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+ 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
+ 'show': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
+ 'tickets': ('django.db.models.fields.IntegerField', [], {})
+ }
+ }
+
+ complete_apps = ['tickets']