# -*- 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 model 'Bar'
        db.create_table('opentapp.barportal_bar', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=200)),
            ('cover_photo', self.gf('django.db.models.fields.files.ImageField')(max_length=100, null=True, blank=True)),
            ('raw_menu', self.gf('django.db.models.fields.files.FileField')(max_length=100, null=True, blank=True)),
            ('longitude', self.gf('django.db.models.fields.DecimalField')(max_digits=10, decimal_places=7)),
            ('latitude', self.gf('django.db.models.fields.DecimalField')(max_digits=10, decimal_places=7)),
            ('address', self.gf('django.db.models.fields.CharField')(max_length=200)),
            ('hours_from', self.gf('django.db.models.fields.TimeField')(null=True, blank=True)),
            ('hours_to', self.gf('django.db.models.fields.TimeField')(null=True, blank=True)),
            ('kitchen_hours_from', self.gf('django.db.models.fields.TimeField')(null=True, blank=True)),
            ('kitchen_hours_to', self.gf('django.db.models.fields.TimeField')(null=True, blank=True)),
            ('bar_tz', self.gf('django.db.models.fields.CharField')(max_length=100)),
            ('phone', self.gf('django.db.models.fields.CharField')(max_length=15, null=True, blank=True)),
            ('description', self.gf('django.db.models.fields.CharField')(max_length=500, null=True, blank=True)),
            ('tvs', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('rating', self.gf('django.db.models.fields.IntegerField')(null=True, blank=True)),
        ))
        db.send_create_signal('opentapp.barportal', ['Bar'])

        # Adding model 'BarUser'
        db.create_table('opentapp.barportal_baruser', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('user', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['auth.User'], unique=True)),
            ('bar', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['opentapp.barportal.Bar'])),
        ))
        db.send_create_signal('opentapp.barportal', ['BarUser'])

        # Adding model 'Menu'
        db.create_table('opentapp.barportal_menu', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('bar', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['opentapp.barportal.Bar'], unique=True)),
        ))
        db.send_create_signal('opentapp.barportal', ['Menu'])

        # Adding model 'MenuItem'
        db.create_table('opentapp.barportal_menuitem', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('menu', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['opentapp.barportal.Menu'])),
            ('price', self.gf('django.db.models.fields.DecimalField')(max_digits=5, decimal_places=2)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=200)),
        ))
        db.send_create_signal('opentapp.barportal', ['MenuItem'])

        # Adding model 'SingleCoupon'
        db.create_table('opentapp.barportal_singlecoupon', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('bar', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['opentapp.barportal.Bar'])),
            ('applies_to', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['opentapp.barportal.MenuItem'], null=True, blank=True)),
            ('coupon_description', self.gf('django.db.models.fields.CharField')(max_length=200)),
            ('issued_at', self.gf('django.db.models.fields.DateTimeField')()),
            ('from_date', self.gf('django.db.models.fields.DateField')()),
            ('to_date', self.gf('django.db.models.fields.DateField')()),
            ('from_time', self.gf('django.db.models.fields.TimeField')()),
            ('to_time', self.gf('django.db.models.fields.TimeField')()),
            ('num_redeemed', self.gf('django.db.models.fields.IntegerField')(default=0)),
            ('one_per_customer', self.gf('django.db.models.fields.BooleanField')(default=False)),
        ))
        db.send_create_signal('opentapp.barportal', ['SingleCoupon'])

        # Adding model 'GroupCoupon'
        db.create_table('opentapp.barportal_groupcoupon', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('bar', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['opentapp.barportal.Bar'])),
            ('applies_to', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['opentapp.barportal.MenuItem'], null=True, blank=True)),
            ('coupon_description', self.gf('django.db.models.fields.CharField')(max_length=200)),
            ('issued_at', self.gf('django.db.models.fields.DateTimeField')()),
            ('from_date', self.gf('django.db.models.fields.DateField')()),
            ('to_date', self.gf('django.db.models.fields.DateField')()),
            ('from_time', self.gf('django.db.models.fields.TimeField')()),
            ('to_time', self.gf('django.db.models.fields.TimeField')()),
            ('num_redeemed', self.gf('django.db.models.fields.IntegerField')(default=0)),
            ('one_per_customer', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('tier_one_min', self.gf('django.db.models.fields.IntegerField')()),
            ('tier_one_max', self.gf('django.db.models.fields.IntegerField')()),
            ('tier_two_min', self.gf('django.db.models.fields.IntegerField')(null=True, blank=True)),
            ('tier_two_max', self.gf('django.db.models.fields.IntegerField')(null=True, blank=True)),
            ('second_tier_description', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
        ))
        db.send_create_signal('opentapp.barportal', ['GroupCoupon'])

        # Adding model 'MobileUser'
        db.create_table('opentapp.barportal_mobileuser', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('fb_id', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
        ))
        db.send_create_signal('opentapp.barportal', ['MobileUser'])

        # Adding model 'GroupRedemption'
        db.create_table('opentapp.barportal_groupredemption', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('creator', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['opentapp.barportal.MobileUser'])),
            ('applies_to', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['opentapp.barportal.GroupCoupon'])),
        ))
        db.send_create_signal('opentapp.barportal', ['GroupRedemption'])

        # Adding model 'GroupMembers'
        db.create_table('opentapp.barportal_groupmembers', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('group', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['opentapp.barportal.GroupRedemption'])),
            ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['opentapp.barportal.MobileUser'])),
            ('has_confirmed', self.gf('django.db.models.fields.BooleanField')(default=False)),
        ))
        db.send_create_signal('opentapp.barportal', ['GroupMembers'])

        # Adding model 'CouponRedemption'
        db.create_table('opentapp.barportal_couponredemption', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('touch_datetime', self.gf('django.db.models.fields.DateTimeField')()),
            ('phone', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['opentapp.barportal.MobileUser'], null=True, blank=True)),
            ('single_coupon', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['opentapp.barportal.SingleCoupon'], null=True, blank=True)),
            ('group_coupon', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['opentapp.barportal.GroupCoupon'], null=True, blank=True)),
        ))
        db.send_create_signal('opentapp.barportal', ['CouponRedemption'])

        # Adding model 'Payment'
        db.create_table('opentapp.barportal_payment', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('touch_datetime', self.gf('django.db.models.fields.DateTimeField')()),
            ('bar', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['opentapp.barportal.Bar'])),
            ('amount', self.gf('django.db.models.fields.IntegerField')()),
        ))
        db.send_create_signal('opentapp.barportal', ['Payment'])

        # Adding model 'User'
        db.create_table('opentapp.barportal_user', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=200)),
            ('email', self.gf('django.db.models.fields.CharField')(max_length=200)),
        ))
        db.send_create_signal('opentapp.barportal', ['User'])


    def backwards(self, orm):
        # Deleting model 'Bar'
        db.delete_table('opentapp.barportal_bar')

        # Deleting model 'BarUser'
        db.delete_table('opentapp.barportal_baruser')

        # Deleting model 'Menu'
        db.delete_table('opentapp.barportal_menu')

        # Deleting model 'MenuItem'
        db.delete_table('opentapp.barportal_menuitem')

        # Deleting model 'SingleCoupon'
        db.delete_table('opentapp.barportal_singlecoupon')

        # Deleting model 'GroupCoupon'
        db.delete_table('opentapp.barportal_groupcoupon')

        # Deleting model 'MobileUser'
        db.delete_table('opentapp.barportal_mobileuser')

        # Deleting model 'GroupRedemption'
        db.delete_table('opentapp.barportal_groupredemption')

        # Deleting model 'GroupMembers'
        db.delete_table('opentapp.barportal_groupmembers')

        # Deleting model 'CouponRedemption'
        db.delete_table('opentapp.barportal_couponredemption')

        # Deleting model 'Payment'
        db.delete_table('opentapp.barportal_payment')

        # Deleting model 'User'
        db.delete_table('opentapp.barportal_user')


    models = {
        'auth.group': {
            'Meta': {'object_name': 'Group'},
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
            'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
        },
        'auth.permission': {
            'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
            'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
        },
        'auth.user': {
            'Meta': {'object_name': 'User'},
            'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
            'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
            'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
            'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
            'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
            'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
            'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
        },
        'opentapp.barportal.bar': {
            'Meta': {'object_name': 'Bar'},
            'address': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
            'bar_tz': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'cover_photo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
            'description': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True', 'blank': 'True'}),
            'hours_from': ('django.db.models.fields.TimeField', [], {'null': 'True', 'blank': 'True'}),
            'hours_to': ('django.db.models.fields.TimeField', [], {'null': 'True', 'blank': 'True'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'kitchen_hours_from': ('django.db.models.fields.TimeField', [], {'null': 'True', 'blank': 'True'}),
            'kitchen_hours_to': ('django.db.models.fields.TimeField', [], {'null': 'True', 'blank': 'True'}),
            'latitude': ('django.db.models.fields.DecimalField', [], {'max_digits': '10', 'decimal_places': '7'}),
            'longitude': ('django.db.models.fields.DecimalField', [], {'max_digits': '10', 'decimal_places': '7'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
            'phone': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}),
            'rating': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
            'raw_menu': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
            'tvs': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
        },
        'opentapp.barportal.baruser': {
            'Meta': {'object_name': 'BarUser'},
            'bar': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['opentapp.barportal.Bar']"}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'})
        },
        'opentapp.barportal.couponredemption': {
            'Meta': {'object_name': 'CouponRedemption'},
            'group_coupon': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['opentapp.barportal.GroupCoupon']", 'null': 'True', 'blank': 'True'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'phone': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['opentapp.barportal.MobileUser']", 'null': 'True', 'blank': 'True'}),
            'single_coupon': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['opentapp.barportal.SingleCoupon']", 'null': 'True', 'blank': 'True'}),
            'touch_datetime': ('django.db.models.fields.DateTimeField', [], {})
        },
        'opentapp.barportal.groupcoupon': {
            'Meta': {'object_name': 'GroupCoupon'},
            'applies_to': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['opentapp.barportal.MenuItem']", 'null': 'True', 'blank': 'True'}),
            'bar': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['opentapp.barportal.Bar']"}),
            'coupon_description': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
            'from_date': ('django.db.models.fields.DateField', [], {}),
            'from_time': ('django.db.models.fields.TimeField', [], {}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'issued_at': ('django.db.models.fields.DateTimeField', [], {}),
            'num_redeemed': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
            'one_per_customer': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'second_tier_description': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'tier_one_max': ('django.db.models.fields.IntegerField', [], {}),
            'tier_one_min': ('django.db.models.fields.IntegerField', [], {}),
            'tier_two_max': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
            'tier_two_min': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
            'to_date': ('django.db.models.fields.DateField', [], {}),
            'to_time': ('django.db.models.fields.TimeField', [], {})
        },
        'opentapp.barportal.groupmembers': {
            'Meta': {'object_name': 'GroupMembers'},
            'group': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['opentapp.barportal.GroupRedemption']"}),
            'has_confirmed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['opentapp.barportal.MobileUser']"})
        },
        'opentapp.barportal.groupredemption': {
            'Meta': {'object_name': 'GroupRedemption'},
            'applies_to': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['opentapp.barportal.GroupCoupon']"}),
            'creator': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['opentapp.barportal.MobileUser']"}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
        },
        'opentapp.barportal.menu': {
            'Meta': {'object_name': 'Menu'},
            'bar': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['opentapp.barportal.Bar']", 'unique': 'True'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
        },
        'opentapp.barportal.menuitem': {
            'Meta': {'object_name': 'MenuItem'},
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'menu': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['opentapp.barportal.Menu']"}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
            'price': ('django.db.models.fields.DecimalField', [], {'max_digits': '5', 'decimal_places': '2'})
        },
        'opentapp.barportal.mobileuser': {
            'Meta': {'object_name': 'MobileUser'},
            'fb_id': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'})
        },
        'opentapp.barportal.payment': {
            'Meta': {'object_name': 'Payment'},
            'amount': ('django.db.models.fields.IntegerField', [], {}),
            'bar': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['opentapp.barportal.Bar']"}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'touch_datetime': ('django.db.models.fields.DateTimeField', [], {})
        },
        'opentapp.barportal.singlecoupon': {
            'Meta': {'object_name': 'SingleCoupon'},
            'applies_to': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['opentapp.barportal.MenuItem']", 'null': 'True', 'blank': 'True'}),
            'bar': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['opentapp.barportal.Bar']"}),
            'coupon_description': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
            'from_date': ('django.db.models.fields.DateField', [], {}),
            'from_time': ('django.db.models.fields.TimeField', [], {}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'issued_at': ('django.db.models.fields.DateTimeField', [], {}),
            'num_redeemed': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
            'one_per_customer': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'to_date': ('django.db.models.fields.DateField', [], {}),
            'to_time': ('django.db.models.fields.TimeField', [], {})
        },
        'opentapp.barportal.user': {
            'Meta': {'object_name': 'User'},
            'email': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
        },
        'contenttypes.contenttype': {
            'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
            'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
        }
    }

    complete_apps = ['opentapp.barportal']
7d094ccc663693825c34235c64ae4e04ae7db51e
<mask token>


class Migration(SchemaMigration):
    <mask token>

    def backwards(self, orm):
        db.delete_table('opentapp.barportal_bar')
        db.delete_table('opentapp.barportal_baruser')
        db.delete_table('opentapp.barportal_menu')
        db.delete_table('opentapp.barportal_menuitem')
        db.delete_table('opentapp.barportal_singlecoupon')
        db.delete_table('opentapp.barportal_groupcoupon')
        db.delete_table('opentapp.barportal_mobileuser')
        db.delete_table('opentapp.barportal_groupredemption')
        db.delete_table('opentapp.barportal_groupmembers')
        db.delete_table('opentapp.barportal_couponredemption')
        db.delete_table('opentapp.barportal_payment')
        db.delete_table('opentapp.barportal_user')
    <mask token>
    <mask token>

<mask token>


class Migration(SchemaMigration):

    def forwards(self, orm):
        db.create_table('opentapp.barportal_bar', (('id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), (
            'name', self.gf('django.db.models.fields.CharField')(max_length
            =200)), ('cover_photo', self.gf(
            'django.db.models.fields.files.ImageField')(max_length=100,
            null=True, blank=True)), ('raw_menu', self.gf(
            'django.db.models.fields.files.FileField')(max_length=100, null
            =True, blank=True)), ('longitude', self.gf(
            'django.db.models.fields.DecimalField')(max_digits=10,
            decimal_places=7)), ('latitude', self.gf(
            'django.db.models.fields.DecimalField')(max_digits=10,
            decimal_places=7)), ('address', self.gf(
            'django.db.models.fields.CharField')(max_length=200)), (
            'hours_from', self.gf('django.db.models.fields.TimeField')(null
            =True, blank=True)), ('hours_to', self.gf(
            'django.db.models.fields.TimeField')(null=True, blank=True)), (
            'kitchen_hours_from', self.gf(
            'django.db.models.fields.TimeField')(null=True, blank=True)), (
            'kitchen_hours_to', self.gf('django.db.models.fields.TimeField'
            )(null=True, blank=True)), ('bar_tz', self.gf(
            'django.db.models.fields.CharField')(max_length=100)), ('phone',
            self.gf('django.db.models.fields.CharField')(max_length=15,
            null=True, blank=True)), ('description', self.gf(
            'django.db.models.fields.CharField')(max_length=500, null=True,
            blank=True)), ('tvs', self.gf(
            'django.db.models.fields.BooleanField')(default=False)), (
            'rating', self.gf('django.db.models.fields.IntegerField')(null=
            True, blank=True))))
        db.send_create_signal('opentapp.barportal', ['Bar'])
        db.create_table('opentapp.barportal_baruser', (('id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), (
            'user', self.gf('django.db.models.fields.related.OneToOneField'
            )(to=orm['auth.User'], unique=True)), ('bar', self.gf(
            'django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.Bar']))))
        db.send_create_signal('opentapp.barportal', ['BarUser'])
        db.create_table('opentapp.barportal_menu', (('id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), ('bar',
            self.gf('django.db.models.fields.related.OneToOneField')(to=orm
            ['opentapp.barportal.Bar'], unique=True))))
        db.send_create_signal('opentapp.barportal', ['Menu'])
        db.create_table('opentapp.barportal_menuitem', (('id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), (
            'menu', self.gf('django.db.models.fields.related.ForeignKey')(
            to=orm['opentapp.barportal.Menu'])), ('price', self.gf(
            'django.db.models.fields.DecimalField')(max_digits=5,
            decimal_places=2)), ('name', self.gf(
            'django.db.models.fields.CharField')(max_length=200))))
        db.send_create_signal('opentapp.barportal', ['MenuItem'])
        db.create_table('opentapp.barportal_singlecoupon', (('id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), ('bar',
            self.gf('django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.Bar'])), ('applies_to', self.gf(
            'django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.MenuItem'], null=True, blank=True)), (
            'coupon_description', self.gf(
            'django.db.models.fields.CharField')(max_length=200)), (
            'issued_at', self.gf('django.db.models.fields.DateTimeField')()
            ), ('from_date', self.gf('django.db.models.fields.DateField')()
            ), ('to_date', self.gf('django.db.models.fields.DateField')()),
            ('from_time', self.gf('django.db.models.fields.TimeField')()),
            ('to_time', self.gf('django.db.models.fields.TimeField')()), (
            'num_redeemed', self.gf('django.db.models.fields.IntegerField')
            (default=0)), ('one_per_customer', self.gf(
            'django.db.models.fields.BooleanField')(default=False))))
        db.send_create_signal('opentapp.barportal', ['SingleCoupon'])
        db.create_table('opentapp.barportal_groupcoupon', (('id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), ('bar',
            self.gf('django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.Bar'])), ('applies_to', self.gf(
            'django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.MenuItem'], null=True, blank=True)), (
            'coupon_description', self.gf(
            'django.db.models.fields.CharField')(max_length=200)), (
            'issued_at', self.gf('django.db.models.fields.DateTimeField')()
            ), ('from_date', self.gf('django.db.models.fields.DateField')()
            ), ('to_date', self.gf('django.db.models.fields.DateField')()),
            ('from_time', self.gf('django.db.models.fields.TimeField')()),
            ('to_time', self.gf('django.db.models.fields.TimeField')()), (
            'num_redeemed', self.gf('django.db.models.fields.IntegerField')
            (default=0)), ('one_per_customer', self.gf(
            'django.db.models.fields.BooleanField')(default=False)), (
            'tier_one_min', self.gf('django.db.models.fields.IntegerField')
            ()), ('tier_one_max', self.gf(
            'django.db.models.fields.IntegerField')()), ('tier_two_min',
            self.gf('django.db.models.fields.IntegerField')(null=True,
            blank=True)), ('tier_two_max', self.gf(
            'django.db.models.fields.IntegerField')(null=True, blank=True)),
            ('second_tier_description', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True))))
        db.send_create_signal('opentapp.barportal', ['GroupCoupon'])
        db.create_table('opentapp.barportal_mobileuser', (('id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), (
            'fb_id', self.gf('django.db.models.fields.CharField')(
            max_length=200, null=True, blank=True)), ('name', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True))))
        db.send_create_signal('opentapp.barportal', ['MobileUser'])
        db.create_table('opentapp.barportal_groupredemption', (('id', self.
            gf('django.db.models.fields.AutoField')(primary_key=True)), (
            'creator', self.gf('django.db.models.fields.related.ForeignKey'
            )(to=orm['opentapp.barportal.MobileUser'])), ('applies_to',
            self.gf('django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.GroupCoupon']))))
        db.send_create_signal('opentapp.barportal', ['GroupRedemption'])
        db.create_table('opentapp.barportal_groupmembers', (('id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), (
            'group', self.gf('django.db.models.fields.related.ForeignKey')(
            to=orm['opentapp.barportal.GroupRedemption'])), ('user', self.
            gf('django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.MobileUser'])), ('has_confirmed', self.gf(
            'django.db.models.fields.BooleanField')(default=False))))
        db.send_create_signal('opentapp.barportal', ['GroupMembers'])
        db.create_table('opentapp.barportal_couponredemption', (('id', self
            .gf('django.db.models.fields.AutoField')(primary_key=True)), (
            'touch_datetime', self.gf(
            'django.db.models.fields.DateTimeField')()), ('phone', self.gf(
            'django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.MobileUser'], null=True, blank=True)), (
            'single_coupon', self.gf(
            'django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.SingleCoupon'], null=True, blank=True)), (
            'group_coupon', self.gf(
            'django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.GroupCoupon'], null=True, blank=True))))
        db.send_create_signal('opentapp.barportal', ['CouponRedemption'])
        db.create_table('opentapp.barportal_payment', (('id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), (
            'touch_datetime', self.gf(
            'django.db.models.fields.DateTimeField')()), ('bar', self.gf(
            'django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.Bar'])), ('amount', self.gf(
            'django.db.models.fields.IntegerField')())))
        db.send_create_signal('opentapp.barportal', ['Payment'])
        db.create_table('opentapp.barportal_user', (('id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), (
            'name', self.gf('django.db.models.fields.CharField')(max_length
            =200)), ('email', self.gf('django.db.models.fields.CharField')(
            max_length=200))))
        db.send_create_signal('opentapp.barportal', ['User'])

    def backwards(self, orm):
        db.delete_table('opentapp.barportal_bar')
        db.delete_table('opentapp.barportal_baruser')
        db.delete_table('opentapp.barportal_menu')
        db.delete_table('opentapp.barportal_menuitem')
        db.delete_table('opentapp.barportal_singlecoupon')
        db.delete_table('opentapp.barportal_groupcoupon')
        db.delete_table('opentapp.barportal_mobileuser')
        db.delete_table('opentapp.barportal_groupredemption')
        db.delete_table('opentapp.barportal_groupmembers')
        db.delete_table('opentapp.barportal_couponredemption')
        db.delete_table('opentapp.barportal_payment')
        db.delete_table('opentapp.barportal_user')
    <mask token>
    <mask token>

<mask token>


class Migration(SchemaMigration):

    def forwards(self, orm):
        db.create_table('opentapp.barportal_bar', (('id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), (
            'name', self.gf('django.db.models.fields.CharField')(max_length
            =200)), ('cover_photo', self.gf(
            'django.db.models.fields.files.ImageField')(max_length=100,
            null=True, blank=True)), ('raw_menu', self.gf(
            'django.db.models.fields.files.FileField')(max_length=100, null
            =True, blank=True)), ('longitude', self.gf(
            'django.db.models.fields.DecimalField')(max_digits=10,
            decimal_places=7)), ('latitude', self.gf(
            'django.db.models.fields.DecimalField')(max_digits=10,
            decimal_places=7)), ('address', self.gf(
            'django.db.models.fields.CharField')(max_length=200)), (
            'hours_from', self.gf('django.db.models.fields.TimeField')(null
            =True, blank=True)), ('hours_to', self.gf(
            'django.db.models.fields.TimeField')(null=True, blank=True)), (
            'kitchen_hours_from', self.gf(
            'django.db.models.fields.TimeField')(null=True, blank=True)), (
            'kitchen_hours_to', self.gf('django.db.models.fields.TimeField'
            )(null=True, blank=True)), ('bar_tz', self.gf(
            'django.db.models.fields.CharField')(max_length=100)), ('phone',
            self.gf('django.db.models.fields.CharField')(max_length=15,
            null=True, blank=True)), ('description', self.gf(
            'django.db.models.fields.CharField')(max_length=500, null=True,
            blank=True)), ('tvs', self.gf(
            'django.db.models.fields.BooleanField')(default=False)), (
            'rating', self.gf('django.db.models.fields.IntegerField')(null=
            True, blank=True))))
        db.send_create_signal('opentapp.barportal', ['Bar'])
        db.create_table('opentapp.barportal_baruser', (('id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), (
            'user', self.gf('django.db.models.fields.related.OneToOneField'
            )(to=orm['auth.User'], unique=True)), ('bar', self.gf(
            'django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.Bar']))))
        db.send_create_signal('opentapp.barportal', ['BarUser'])
        db.create_table('opentapp.barportal_menu', (('id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), ('bar',
            self.gf('django.db.models.fields.related.OneToOneField')(to=orm
            ['opentapp.barportal.Bar'], unique=True))))
        db.send_create_signal('opentapp.barportal', ['Menu'])
        db.create_table('opentapp.barportal_menuitem', (('id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), (
            'menu', self.gf('django.db.models.fields.related.ForeignKey')(
            to=orm['opentapp.barportal.Menu'])), ('price', self.gf(
            'django.db.models.fields.DecimalField')(max_digits=5,
            decimal_places=2)), ('name', self.gf(
            'django.db.models.fields.CharField')(max_length=200))))
        db.send_create_signal('opentapp.barportal', ['MenuItem'])
        db.create_table('opentapp.barportal_singlecoupon', (('id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), ('bar',
            self.gf('django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.Bar'])), ('applies_to', self.gf(
            'django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.MenuItem'], null=True, blank=True)), (
            'coupon_description', self.gf(
            'django.db.models.fields.CharField')(max_length=200)), (
            'issued_at', self.gf('django.db.models.fields.DateTimeField')()
            ), ('from_date', self.gf('django.db.models.fields.DateField')()
            ), ('to_date', self.gf('django.db.models.fields.DateField')()),
            ('from_time', self.gf('django.db.models.fields.TimeField')()),
            ('to_time', self.gf('django.db.models.fields.TimeField')()), (
            'num_redeemed', self.gf('django.db.models.fields.IntegerField')
            (default=0)), ('one_per_customer', self.gf(
            'django.db.models.fields.BooleanField')(default=False))))
        db.send_create_signal('opentapp.barportal', ['SingleCoupon'])
        db.create_table('opentapp.barportal_groupcoupon', (('id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), ('bar',
            self.gf('django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.Bar'])), ('applies_to', self.gf(
            'django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.MenuItem'], null=True, blank=True)), (
            'coupon_description', self.gf(
            'django.db.models.fields.CharField')(max_length=200)), (
            'issued_at', self.gf('django.db.models.fields.DateTimeField')()
            ), ('from_date', self.gf('django.db.models.fields.DateField')()
            ), ('to_date', self.gf('django.db.models.fields.DateField')()),
            ('from_time', self.gf('django.db.models.fields.TimeField')()),
            ('to_time', self.gf('django.db.models.fields.TimeField')()), (
            'num_redeemed', self.gf('django.db.models.fields.IntegerField')
            (default=0)), ('one_per_customer', self.gf(
            'django.db.models.fields.BooleanField')(default=False)), (
            'tier_one_min', self.gf('django.db.models.fields.IntegerField')
            ()), ('tier_one_max', self.gf(
            'django.db.models.fields.IntegerField')()), ('tier_two_min',
            self.gf('django.db.models.fields.IntegerField')(null=True,
            blank=True)), ('tier_two_max', self.gf(
            'django.db.models.fields.IntegerField')(null=True, blank=True)),
            ('second_tier_description', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True))))
        db.send_create_signal('opentapp.barportal', ['GroupCoupon'])
        db.create_table('opentapp.barportal_mobileuser', (('id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), (
            'fb_id', self.gf('django.db.models.fields.CharField')(
            max_length=200, null=True, blank=True)), ('name', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True))))
        db.send_create_signal('opentapp.barportal', ['MobileUser'])
        db.create_table('opentapp.barportal_groupredemption', (('id', self.
            gf('django.db.models.fields.AutoField')(primary_key=True)), (
            'creator', self.gf('django.db.models.fields.related.ForeignKey'
            )(to=orm['opentapp.barportal.MobileUser'])), ('applies_to',
            self.gf('django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.GroupCoupon']))))
        db.send_create_signal('opentapp.barportal', ['GroupRedemption'])
        db.create_table('opentapp.barportal_groupmembers', (('id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), (
            'group', self.gf('django.db.models.fields.related.ForeignKey')(
            to=orm['opentapp.barportal.GroupRedemption'])), ('user', self.
            gf('django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.MobileUser'])), ('has_confirmed', self.gf(
            'django.db.models.fields.BooleanField')(default=False))))
        db.send_create_signal('opentapp.barportal', ['GroupMembers'])
        db.create_table('opentapp.barportal_couponredemption', (('id', self
            .gf('django.db.models.fields.AutoField')(primary_key=True)), (
            'touch_datetime', self.gf(
            'django.db.models.fields.DateTimeField')()), ('phone', self.gf(
            'django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.MobileUser'], null=True, blank=True)), (
            'single_coupon', self.gf(
            'django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.SingleCoupon'], null=True, blank=True)), (
            'group_coupon', self.gf(
            'django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.GroupCoupon'], null=True, blank=True))))
        db.send_create_signal('opentapp.barportal', ['CouponRedemption'])
        db.create_table('opentapp.barportal_payment', (('id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), (
            'touch_datetime', self.gf(
            'django.db.models.fields.DateTimeField')()), ('bar', self.gf(
            'django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.Bar'])), ('amount', self.gf(
            'django.db.models.fields.IntegerField')())))
        db.send_create_signal('opentapp.barportal', ['Payment'])
        db.create_table('opentapp.barportal_user', (('id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), (
            'name', self.gf('django.db.models.fields.CharField')(max_length
            =200)), ('email', self.gf('django.db.models.fields.CharField')(
            max_length=200))))
        db.send_create_signal('opentapp.barportal', ['User'])

    def backwards(self, orm):
        db.delete_table('opentapp.barportal_bar')
        db.delete_table('opentapp.barportal_baruser')
        db.delete_table('opentapp.barportal_menu')
        db.delete_table('opentapp.barportal_menuitem')
        db.delete_table('opentapp.barportal_singlecoupon')
        db.delete_table('opentapp.barportal_groupcoupon')
        db.delete_table('opentapp.barportal_mobileuser')
        db.delete_table('opentapp.barportal_groupredemption')
        db.delete_table('opentapp.barportal_groupmembers')
        db.delete_table('opentapp.barportal_couponredemption')
        db.delete_table('opentapp.barportal_payment')
        db.delete_table('opentapp.barportal_user')
    models = {'auth.group': {'Meta': {'object_name': 'Group'}, 'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'name': ('django.db.models.fields.CharField', [], {'unique': 'True',
        'max_length': '80'}), 'permissions': (
        'django.db.models.fields.related.ManyToManyField', [], {'to':
        "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
        }, 'auth.permission': {'Meta': {'ordering':
        "('content_type__app_label', 'content_type__model', 'codename')",
        'unique_together': "(('content_type', 'codename'),)", 'object_name':
        'Permission'}, 'codename': ('django.db.models.fields.CharField', [],
        {'max_length': '100'}), 'content_type': (
        'django.db.models.fields.related.ForeignKey', [], {'to':
        "orm['contenttypes.ContentType']"}), 'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'name': ('django.db.models.fields.CharField', [], {'max_length':
        '50'})}, 'auth.user': {'Meta': {'object_name': 'User'},
        'date_joined': ('django.db.models.fields.DateTimeField', [], {
        'default': 'datetime.datetime.now'}), 'email': (
        'django.db.models.fields.EmailField', [], {'max_length': '75',
        'blank': 'True'}), 'first_name': (
        'django.db.models.fields.CharField', [], {'max_length': '30',
        'blank': 'True'}), 'groups': (
        'django.db.models.fields.related.ManyToManyField', [], {'to':
        "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
        'id': ('django.db.models.fields.AutoField', [], {'primary_key':
        'True'}), 'is_active': ('django.db.models.fields.BooleanField', [],
        {'default': 'True'}), 'is_staff': (
        'django.db.models.fields.BooleanField', [], {'default': 'False'}),
        'is_superuser': ('django.db.models.fields.BooleanField', [], {
        'default': 'False'}), 'last_login': (
        'django.db.models.fields.DateTimeField', [], {'default':
        'datetime.datetime.now'}), 'last_name': (
        'django.db.models.fields.CharField', [], {'max_length': '30',
        'blank': 'True'}), 'password': ('django.db.models.fields.CharField',
        [], {'max_length': '128'}), 'user_permissions': (
        'django.db.models.fields.related.ManyToManyField', [], {'to':
        "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
        'username': ('django.db.models.fields.CharField', [], {'unique':
        'True', 'max_length': '30'})}, 'opentapp.barportal.bar': {'Meta': {
        'object_name': 'Bar'}, 'address': (
        'django.db.models.fields.CharField', [], {'max_length': '200'}),
        'bar_tz': ('django.db.models.fields.CharField', [], {'max_length':
        '100'}), 'cover_photo': ('django.db.models.fields.files.ImageField',
        [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
        'description': ('django.db.models.fields.CharField', [], {
        'max_length': '500', 'null': 'True', 'blank': 'True'}),
        'hours_from': ('django.db.models.fields.TimeField', [], {'null':
        'True', 'blank': 'True'}), 'hours_to': (
        'django.db.models.fields.TimeField', [], {'null': 'True', 'blank':
        'True'}), 'id': ('django.db.models.fields.AutoField', [], {
        'primary_key': 'True'}), 'kitchen_hours_from': (
        'django.db.models.fields.TimeField', [], {'null': 'True', 'blank':
        'True'}), 'kitchen_hours_to': ('django.db.models.fields.TimeField',
        [], {'null': 'True', 'blank': 'True'}), 'latitude': (
        'django.db.models.fields.DecimalField', [], {'max_digits': '10',
        'decimal_places': '7'}), 'longitude': (
        'django.db.models.fields.DecimalField', [], {'max_digits': '10',
        'decimal_places': '7'}), 'name': (
        'django.db.models.fields.CharField', [], {'max_length': '200'}),
        'phone': ('django.db.models.fields.CharField', [], {'max_length':
        '15', 'null': 'True', 'blank': 'True'}), 'rating': (
        'django.db.models.fields.IntegerField', [], {'null': 'True',
        'blank': 'True'}), 'raw_menu': (
        'django.db.models.fields.files.FileField', [], {'max_length': '100',
        'null': 'True', 'blank': 'True'}), 'tvs': (
        'django.db.models.fields.BooleanField', [], {'default': 'False'})},
        'opentapp.barportal.baruser': {'Meta': {'object_name': 'BarUser'},
        'bar': ('django.db.models.fields.related.ForeignKey', [], {'to':
        "orm['opentapp.barportal.Bar']"}), 'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'user': ('django.db.models.fields.related.OneToOneField', [], {'to':
        "orm['auth.User']", 'unique': 'True'})},
        'opentapp.barportal.couponredemption': {'Meta': {'object_name':
        'CouponRedemption'}, 'group_coupon': (
        'django.db.models.fields.related.ForeignKey', [], {'to':
        "orm['opentapp.barportal.GroupCoupon']", 'null': 'True', 'blank':
        'True'}), 'id': ('django.db.models.fields.AutoField', [], {
        'primary_key': 'True'}), 'phone': (
        'django.db.models.fields.related.ForeignKey', [], {'to':
        "orm['opentapp.barportal.MobileUser']", 'null': 'True', 'blank':
        'True'}), 'single_coupon': (
        'django.db.models.fields.related.ForeignKey', [], {'to':
        "orm['opentapp.barportal.SingleCoupon']", 'null': 'True', 'blank':
        'True'}), 'touch_datetime': (
        'django.db.models.fields.DateTimeField', [], {})},
        'opentapp.barportal.groupcoupon': {'Meta': {'object_name':
        'GroupCoupon'}, 'applies_to': (
        'django.db.models.fields.related.ForeignKey', [], {'to':
        "orm['opentapp.barportal.MenuItem']", 'null': 'True', 'blank':
        'True'}), 'bar': ('django.db.models.fields.related.ForeignKey', [],
        {'to': "orm['opentapp.barportal.Bar']"}), 'coupon_description': (
        'django.db.models.fields.CharField', [], {'max_length': '200'}),
        'from_date': ('django.db.models.fields.DateField', [], {}),
        'from_time': ('django.db.models.fields.TimeField', [], {}), 'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'issued_at': ('django.db.models.fields.DateTimeField', [], {}),
        'num_redeemed': ('django.db.models.fields.IntegerField', [], {
        'default': '0'}), 'one_per_customer': (
        'django.db.models.fields.BooleanField', [], {'default': 'False'}),
        'second_tier_description': ('django.db.models.fields.CharField', [],
        {'max_length': '200', 'null': 'True', 'blank': 'True'}),
        'tier_one_max': ('django.db.models.fields.IntegerField', [], {}),
        'tier_one_min': ('django.db.models.fields.IntegerField', [], {}),
        'tier_two_max': ('django.db.models.fields.IntegerField', [], {
        'null': 'True', 'blank': 'True'}), 'tier_two_min': (
        'django.db.models.fields.IntegerField', [], {'null': 'True',
        'blank': 'True'}), 'to_date': ('django.db.models.fields.DateField',
        [], {}), 'to_time': ('django.db.models.fields.TimeField', [], {})},
        'opentapp.barportal.groupmembers': {'Meta': {'object_name':
        'GroupMembers'}, 'group': (
        'django.db.models.fields.related.ForeignKey', [], {'to':
        "orm['opentapp.barportal.GroupRedemption']"}), 'has_confirmed': (
        'django.db.models.fields.BooleanField', [], {'default': 'False'}),
        'id': ('django.db.models.fields.AutoField', [], {'primary_key':
        'True'}), 'user': ('django.db.models.fields.related.ForeignKey', [],
        {'to': "orm['opentapp.barportal.MobileUser']"})},
        'opentapp.barportal.groupredemption': {'Meta': {'object_name':
        'GroupRedemption'}, 'applies_to': (
        'django.db.models.fields.related.ForeignKey', [], {'to':
        "orm['opentapp.barportal.GroupCoupon']"}), 'creator': (
        'django.db.models.fields.related.ForeignKey', [], {'to':
        "orm['opentapp.barportal.MobileUser']"}), 'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'})},
        'opentapp.barportal.menu': {'Meta': {'object_name': 'Menu'}, 'bar':
        ('django.db.models.fields.related.OneToOneField', [], {'to':
        "orm['opentapp.barportal.Bar']", 'unique': 'True'}), 'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'})},
        'opentapp.barportal.menuitem': {'Meta': {'object_name': 'MenuItem'},
        'id': ('django.db.models.fields.AutoField', [], {'primary_key':
        'True'}), 'menu': ('django.db.models.fields.related.ForeignKey', [],
        {'to': "orm['opentapp.barportal.Menu']"}), 'name': (
        'django.db.models.fields.CharField', [], {'max_length': '200'}),
        'price': ('django.db.models.fields.DecimalField', [], {'max_digits':
        '5', 'decimal_places': '2'})}, 'opentapp.barportal.mobileuser': {
        'Meta': {'object_name': 'MobileUser'}, 'fb_id': (
        'django.db.models.fields.CharField', [], {'max_length': '200',
        'null': 'True', 'blank': 'True'}), 'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'name': ('django.db.models.fields.CharField', [], {'max_length':
        '200', 'null': 'True', 'blank': 'True'})},
        'opentapp.barportal.payment': {'Meta': {'object_name': 'Payment'},
        'amount': ('django.db.models.fields.IntegerField', [], {}), 'bar':
        ('django.db.models.fields.related.ForeignKey', [], {'to':
        "orm['opentapp.barportal.Bar']"}), 'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'touch_datetime': ('django.db.models.fields.DateTimeField', [], {})
        }, 'opentapp.barportal.singlecoupon': {'Meta': {'object_name':
        'SingleCoupon'}, 'applies_to': (
        'django.db.models.fields.related.ForeignKey', [], {'to':
        "orm['opentapp.barportal.MenuItem']", 'null': 'True', 'blank':
        'True'}), 'bar': ('django.db.models.fields.related.ForeignKey', [],
        {'to': "orm['opentapp.barportal.Bar']"}), 'coupon_description': (
        'django.db.models.fields.CharField', [], {'max_length': '200'}),
        'from_date': ('django.db.models.fields.DateField', [], {}),
        'from_time': ('django.db.models.fields.TimeField', [], {}), 'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'issued_at': ('django.db.models.fields.DateTimeField', [], {}),
        'num_redeemed': ('django.db.models.fields.IntegerField', [], {
        'default': '0'}), 'one_per_customer': (
        'django.db.models.fields.BooleanField', [], {'default': 'False'}),
        'to_date': ('django.db.models.fields.DateField', [], {}), 'to_time':
        ('django.db.models.fields.TimeField', [], {})},
        'opentapp.barportal.user': {'Meta': {'object_name': 'User'},
        'email': ('django.db.models.fields.CharField', [], {'max_length':
        '200'}), 'id': ('django.db.models.fields.AutoField', [], {
        'primary_key': 'True'}), 'name': (
        'django.db.models.fields.CharField', [], {'max_length': '200'})},
        'contenttypes.contenttype': {'Meta': {'ordering': "('name',)",
        'unique_together': "(('app_label', 'model'),)", 'object_name':
        'ContentType', 'db_table': "'django_content_type'"}, 'app_label': (
        'django.db.models.fields.CharField', [], {'max_length': '100'}),
        'id': ('django.db.models.fields.AutoField', [], {'primary_key':
        'True'}), 'model': ('django.db.models.fields.CharField', [], {
        'max_length': '100'}), 'name': ('django.db.models.fields.CharField',
        [], {'max_length': '100'})}}
    complete_apps = ['opentapp.barportal']

import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models


class Migration(SchemaMigration):

    def forwards(self, orm):
        db.create_table('opentapp.barportal_bar', (('id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), (
            'name', self.gf('django.db.models.fields.CharField')(max_length
            =200)), ('cover_photo', self.gf(
            'django.db.models.fields.files.ImageField')(max_length=100,
            null=True, blank=True)), ('raw_menu', self.gf(
            'django.db.models.fields.files.FileField')(max_length=100, null
            =True, blank=True)), ('longitude', self.gf(
            'django.db.models.fields.DecimalField')(max_digits=10,
            decimal_places=7)), ('latitude', self.gf(
            'django.db.models.fields.DecimalField')(max_digits=10,
            decimal_places=7)), ('address', self.gf(
            'django.db.models.fields.CharField')(max_length=200)), (
            'hours_from', self.gf('django.db.models.fields.TimeField')(null
            =True, blank=True)), ('hours_to', self.gf(
            'django.db.models.fields.TimeField')(null=True, blank=True)), (
            'kitchen_hours_from', self.gf(
            'django.db.models.fields.TimeField')(null=True, blank=True)), (
            'kitchen_hours_to', self.gf('django.db.models.fields.TimeField'
            )(null=True, blank=True)), ('bar_tz', self.gf(
            'django.db.models.fields.CharField')(max_length=100)), ('phone',
            self.gf('django.db.models.fields.CharField')(max_length=15,
            null=True, blank=True)), ('description', self.gf(
            'django.db.models.fields.CharField')(max_length=500, null=True,
            blank=True)), ('tvs', self.gf(
            'django.db.models.fields.BooleanField')(default=False)), (
            'rating', self.gf('django.db.models.fields.IntegerField')(null=
            True, blank=True))))
        db.send_create_signal('opentapp.barportal', ['Bar'])
        db.create_table('opentapp.barportal_baruser', (('id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), (
            'user', self.gf('django.db.models.fields.related.OneToOneField'
            )(to=orm['auth.User'], unique=True)), ('bar', self.gf(
            'django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.Bar']))))
        db.send_create_signal('opentapp.barportal', ['BarUser'])
        db.create_table('opentapp.barportal_menu', (('id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), ('bar',
            self.gf('django.db.models.fields.related.OneToOneField')(to=orm
            ['opentapp.barportal.Bar'], unique=True))))
        db.send_create_signal('opentapp.barportal', ['Menu'])
        db.create_table('opentapp.barportal_menuitem', (('id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), (
            'menu', self.gf('django.db.models.fields.related.ForeignKey')(
            to=orm['opentapp.barportal.Menu'])), ('price', self.gf(
            'django.db.models.fields.DecimalField')(max_digits=5,
            decimal_places=2)), ('name', self.gf(
            'django.db.models.fields.CharField')(max_length=200))))
        db.send_create_signal('opentapp.barportal', ['MenuItem'])
        db.create_table('opentapp.barportal_singlecoupon', (('id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), ('bar',
            self.gf('django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.Bar'])), ('applies_to', self.gf(
            'django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.MenuItem'], null=True, blank=True)), (
            'coupon_description', self.gf(
            'django.db.models.fields.CharField')(max_length=200)), (
            'issued_at', self.gf('django.db.models.fields.DateTimeField')()
            ), ('from_date', self.gf('django.db.models.fields.DateField')()
            ), ('to_date', self.gf('django.db.models.fields.DateField')()),
            ('from_time', self.gf('django.db.models.fields.TimeField')()),
            ('to_time', self.gf('django.db.models.fields.TimeField')()), (
            'num_redeemed', self.gf('django.db.models.fields.IntegerField')
            (default=0)), ('one_per_customer', self.gf(
            'django.db.models.fields.BooleanField')(default=False))))
        db.send_create_signal('opentapp.barportal', ['SingleCoupon'])
        db.create_table('opentapp.barportal_groupcoupon', (('id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), ('bar',
            self.gf('django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.Bar'])), ('applies_to', self.gf(
            'django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.MenuItem'], null=True, blank=True)), (
            'coupon_description', self.gf(
            'django.db.models.fields.CharField')(max_length=200)), (
            'issued_at', self.gf('django.db.models.fields.DateTimeField')()
            ), ('from_date', self.gf('django.db.models.fields.DateField')()
            ), ('to_date', self.gf('django.db.models.fields.DateField')()),
            ('from_time', self.gf('django.db.models.fields.TimeField')()),
            ('to_time', self.gf('django.db.models.fields.TimeField')()), (
            'num_redeemed', self.gf('django.db.models.fields.IntegerField')
            (default=0)), ('one_per_customer', self.gf(
            'django.db.models.fields.BooleanField')(default=False)), (
            'tier_one_min', self.gf('django.db.models.fields.IntegerField')
            ()), ('tier_one_max', self.gf(
            'django.db.models.fields.IntegerField')()), ('tier_two_min',
            self.gf('django.db.models.fields.IntegerField')(null=True,
            blank=True)), ('tier_two_max', self.gf(
            'django.db.models.fields.IntegerField')(null=True, blank=True)),
            ('second_tier_description', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True))))
        db.send_create_signal('opentapp.barportal', ['GroupCoupon'])
        db.create_table('opentapp.barportal_mobileuser', (('id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), (
            'fb_id', self.gf('django.db.models.fields.CharField')(
            max_length=200, null=True, blank=True)), ('name', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True))))
        db.send_create_signal('opentapp.barportal', ['MobileUser'])
        db.create_table('opentapp.barportal_groupredemption', (('id', self.
            gf('django.db.models.fields.AutoField')(primary_key=True)), (
            'creator', self.gf('django.db.models.fields.related.ForeignKey'
            )(to=orm['opentapp.barportal.MobileUser'])), ('applies_to',
            self.gf('django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.GroupCoupon']))))
        db.send_create_signal('opentapp.barportal', ['GroupRedemption'])
        db.create_table('opentapp.barportal_groupmembers', (('id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), (
            'group', self.gf('django.db.models.fields.related.ForeignKey')(
            to=orm['opentapp.barportal.GroupRedemption'])), ('user', self.
            gf('django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.MobileUser'])), ('has_confirmed', self.gf(
            'django.db.models.fields.BooleanField')(default=False))))
        db.send_create_signal('opentapp.barportal', ['GroupMembers'])
        db.create_table('opentapp.barportal_couponredemption', (('id', self
            .gf('django.db.models.fields.AutoField')(primary_key=True)), (
            'touch_datetime', self.gf(
            'django.db.models.fields.DateTimeField')()), ('phone', self.gf(
            'django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.MobileUser'], null=True, blank=True)), (
            'single_coupon', self.gf(
            'django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.SingleCoupon'], null=True, blank=True)), (
            'group_coupon', self.gf(
            'django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.GroupCoupon'], null=True, blank=True))))
        db.send_create_signal('opentapp.barportal', ['CouponRedemption'])
        db.create_table('opentapp.barportal_payment', (('id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), (
            'touch_datetime', self.gf(
            'django.db.models.fields.DateTimeField')()), ('bar', self.gf(
            'django.db.models.fields.related.ForeignKey')(to=orm[
            'opentapp.barportal.Bar'])), ('amount', self.gf(
            'django.db.models.fields.IntegerField')())))
        db.send_create_signal('opentapp.barportal', ['Payment'])
        db.create_table('opentapp.barportal_user', (('id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), (
            'name', self.gf('django.db.models.fields.CharField')(max_length
            =200)), ('email', self.gf('django.db.models.fields.CharField')(
            max_length=200))))
        db.send_create_signal('opentapp.barportal', ['User'])

    def backwards(self, orm):
        db.delete_table('opentapp.barportal_bar')
        db.delete_table('opentapp.barportal_baruser')
        db.delete_table('opentapp.barportal_menu')
        db.delete_table('opentapp.barportal_menuitem')
        db.delete_table('opentapp.barportal_singlecoupon')
        db.delete_table('opentapp.barportal_groupcoupon')
        db.delete_table('opentapp.barportal_mobileuser')
        db.delete_table('opentapp.barportal_groupredemption')
        db.delete_table('opentapp.barportal_groupmembers')
        db.delete_table('opentapp.barportal_couponredemption')
        db.delete_table('opentapp.barportal_payment')
        db.delete_table('opentapp.barportal_user')
    models = {'auth.group': {'Meta': {'object_name': 'Group'}, 'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'name': ('django.db.models.fields.CharField', [], {'unique': 'True',
        'max_length': '80'}), 'permissions': (
        'django.db.models.fields.related.ManyToManyField', [], {'to':
        "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
        }, 'auth.permission': {'Meta': {'ordering':
        "('content_type__app_label', 'content_type__model', 'codename')",
        'unique_together': "(('content_type', 'codename'),)", 'object_name':
        'Permission'}, 'codename': ('django.db.models.fields.CharField', [],
        {'max_length': '100'}), 'content_type': (
        'django.db.models.fields.related.ForeignKey', [], {'to':
        "orm['contenttypes.ContentType']"}), 'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'name': ('django.db.models.fields.CharField', [], {'max_length':
        '50'})}, 'auth.user': {'Meta': {'object_name': 'User'},
        'date_joined': ('django.db.models.fields.DateTimeField', [], {
        'default': 'datetime.datetime.now'}), 'email': (
        'django.db.models.fields.EmailField', [], {'max_length': '75',
        'blank': 'True'}), 'first_name': (
        'django.db.models.fields.CharField', [], {'max_length': '30',
        'blank': 'True'}), 'groups': (
        'django.db.models.fields.related.ManyToManyField', [], {'to':
        "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
        'id': ('django.db.models.fields.AutoField', [], {'primary_key':
        'True'}), 'is_active': ('django.db.models.fields.BooleanField', [],
        {'default': 'True'}), 'is_staff': (
        'django.db.models.fields.BooleanField', [], {'default': 'False'}),
        'is_superuser': ('django.db.models.fields.BooleanField', [], {
        'default': 'False'}), 'last_login': (
        'django.db.models.fields.DateTimeField', [], {'default':
        'datetime.datetime.now'}), 'last_name': (
        'django.db.models.fields.CharField', [], {'max_length': '30',
        'blank': 'True'}), 'password': ('django.db.models.fields.CharField',
        [], {'max_length': '128'}), 'user_permissions': (
        'django.db.models.fields.related.ManyToManyField', [], {'to':
        "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
        'username': ('django.db.models.fields.CharField', [], {'unique':
        'True', 'max_length': '30'})}, 'opentapp.barportal.bar': {'Meta': {
        'object_name': 'Bar'}, 'address': (
        'django.db.models.fields.CharField', [], {'max_length': '200'}),
        'bar_tz': ('django.db.models.fields.CharField', [], {'max_length':
        '100'}), 'cover_photo': ('django.db.models.fields.files.ImageField',
        [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
        'description': ('django.db.models.fields.CharField', [], {
        'max_length': '500', 'null': 'True', 'blank': 'True'}),
        'hours_from': ('django.db.models.fields.TimeField', [], {'null':
        'True', 'blank': 'True'}), 'hours_to': (
        'django.db.models.fields.TimeField', [], {'null': 'True', 'blank':
        'True'}), 'id': ('django.db.models.fields.AutoField', [], {
        'primary_key': 'True'}), 'kitchen_hours_from': (
        'django.db.models.fields.TimeField', [], {'null': 'True', 'blank':
        'True'}), 'kitchen_hours_to': ('django.db.models.fields.TimeField',
        [], {'null': 'True', 'blank': 'True'}), 'latitude': (
        'django.db.models.fields.DecimalField', [], {'max_digits': '10',
        'decimal_places': '7'}), 'longitude': (
        'django.db.models.fields.DecimalField', [], {'max_digits': '10',
        'decimal_places': '7'}), 'name': (
        'django.db.models.fields.CharField', [], {'max_length': '200'}),
        'phone': ('django.db.models.fields.CharField', [], {'max_length':
        '15', 'null': 'True', 'blank': 'True'}), 'rating': (
        'django.db.models.fields.IntegerField', [], {'null': 'True',
        'blank': 'True'}), 'raw_menu': (
        'django.db.models.fields.files.FileField', [], {'max_length': '100',
        'null': 'True', 'blank': 'True'}), 'tvs': (
        'django.db.models.fields.BooleanField', [], {'default': 'False'})},
        'opentapp.barportal.baruser': {'Meta': {'object_name': 'BarUser'},
        'bar': ('django.db.models.fields.related.ForeignKey', [], {'to':
        "orm['opentapp.barportal.Bar']"}), 'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'user': ('django.db.models.fields.related.OneToOneField', [], {'to':
        "orm['auth.User']", 'unique': 'True'})},
        'opentapp.barportal.couponredemption': {'Meta': {'object_name':
        'CouponRedemption'}, 'group_coupon': (
        'django.db.models.fields.related.ForeignKey', [], {'to':
        "orm['opentapp.barportal.GroupCoupon']", 'null': 'True', 'blank':
        'True'}), 'id': ('django.db.models.fields.AutoField', [], {
        'primary_key': 'True'}), 'phone': (
        'django.db.models.fields.related.ForeignKey', [], {'to':
        "orm['opentapp.barportal.MobileUser']", 'null': 'True', 'blank':
        'True'}), 'single_coupon': (
        'django.db.models.fields.related.ForeignKey', [], {'to':
        "orm['opentapp.barportal.SingleCoupon']", 'null': 'True', 'blank':
        'True'}), 'touch_datetime': (
        'django.db.models.fields.DateTimeField', [], {})},
        'opentapp.barportal.groupcoupon': {'Meta': {'object_name':
        'GroupCoupon'}, 'applies_to': (
        'django.db.models.fields.related.ForeignKey', [], {'to':
        "orm['opentapp.barportal.MenuItem']", 'null': 'True', 'blank':
        'True'}), 'bar': ('django.db.models.fields.related.ForeignKey', [],
        {'to': "orm['opentapp.barportal.Bar']"}), 'coupon_description': (
        'django.db.models.fields.CharField', [], {'max_length': '200'}),
        'from_date': ('django.db.models.fields.DateField', [], {}),
        'from_time': ('django.db.models.fields.TimeField', [], {}), 'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'issued_at': ('django.db.models.fields.DateTimeField', [], {}),
        'num_redeemed': ('django.db.models.fields.IntegerField', [], {
        'default': '0'}), 'one_per_customer': (
        'django.db.models.fields.BooleanField', [], {'default': 'False'}),
        'second_tier_description': ('django.db.models.fields.CharField', [],
        {'max_length': '200', 'null': 'True', 'blank': 'True'}),
        'tier_one_max': ('django.db.models.fields.IntegerField', [], {}),
        'tier_one_min': ('django.db.models.fields.IntegerField', [], {}),
        'tier_two_max': ('django.db.models.fields.IntegerField', [], {
        'null': 'True', 'blank': 'True'}), 'tier_two_min': (
        'django.db.models.fields.IntegerField', [], {'null': 'True',
        'blank': 'True'}), 'to_date': ('django.db.models.fields.DateField',
        [], {}), 'to_time': ('django.db.models.fields.TimeField', [], {})},
        'opentapp.barportal.groupmembers': {'Meta': {'object_name':
        'GroupMembers'}, 'group': (
        'django.db.models.fields.related.ForeignKey', [], {'to':
        "orm['opentapp.barportal.GroupRedemption']"}), 'has_confirmed': (
        'django.db.models.fields.BooleanField', [], {'default': 'False'}),
        'id': ('django.db.models.fields.AutoField', [], {'primary_key':
        'True'}), 'user': ('django.db.models.fields.related.ForeignKey', [],
        {'to': "orm['opentapp.barportal.MobileUser']"})},
        'opentapp.barportal.groupredemption': {'Meta': {'object_name':
        'GroupRedemption'}, 'applies_to': (
        'django.db.models.fields.related.ForeignKey', [], {'to':
        "orm['opentapp.barportal.GroupCoupon']"}), 'creator': (
        'django.db.models.fields.related.ForeignKey', [], {'to':
        "orm['opentapp.barportal.MobileUser']"}), 'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'})},
        'opentapp.barportal.menu': {'Meta': {'object_name': 'Menu'}, 'bar':
        ('django.db.models.fields.related.OneToOneField', [], {'to':
        "orm['opentapp.barportal.Bar']", 'unique': 'True'}), 'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'})},
        'opentapp.barportal.menuitem': {'Meta': {'object_name': 'MenuItem'},
        'id': ('django.db.models.fields.AutoField', [], {'primary_key':
        'True'}), 'menu': ('django.db.models.fields.related.ForeignKey', [],
        {'to': "orm['opentapp.barportal.Menu']"}), 'name': (
        'django.db.models.fields.CharField', [], {'max_length': '200'}),
        'price': ('django.db.models.fields.DecimalField', [], {'max_digits':
        '5', 'decimal_places': '2'})}, 'opentapp.barportal.mobileuser': {
        'Meta': {'object_name': 'MobileUser'}, 'fb_id': (
        'django.db.models.fields.CharField', [], {'max_length': '200',
        'null': 'True', 'blank': 'True'}), 'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'name': ('django.db.models.fields.CharField', [], {'max_length':
        '200', 'null': 'True', 'blank': 'True'})},
        'opentapp.barportal.payment': {'Meta': {'object_name': 'Payment'},
        'amount': ('django.db.models.fields.IntegerField', [], {}), 'bar':
        ('django.db.models.fields.related.ForeignKey', [], {'to':
        "orm['opentapp.barportal.Bar']"}), 'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'touch_datetime': ('django.db.models.fields.DateTimeField', [], {})
        }, 'opentapp.barportal.singlecoupon': {'Meta': {'object_name':
        'SingleCoupon'}, 'applies_to': (
        'django.db.models.fields.related.ForeignKey', [], {'to':
        "orm['opentapp.barportal.MenuItem']", 'null': 'True', 'blank':
        'True'}), 'bar': ('django.db.models.fields.related.ForeignKey', [],
        {'to': "orm['opentapp.barportal.Bar']"}), 'coupon_description': (
        'django.db.models.fields.CharField', [], {'max_length': '200'}),
        'from_date': ('django.db.models.fields.DateField', [], {}),
        'from_time': ('django.db.models.fields.TimeField', [], {}), 'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'issued_at': ('django.db.models.fields.DateTimeField', [], {}),
        'num_redeemed': ('django.db.models.fields.IntegerField', [], {
        'default': '0'}), 'one_per_customer': (
        'django.db.models.fields.BooleanField', [], {'default': 'False'}),
        'to_date': ('django.db.models.fields.DateField', [], {}), 'to_time':
        ('django.db.models.fields.TimeField', [], {})},
        'opentapp.barportal.user': {'Meta': {'object_name': 'User'},
        'email': ('django.db.models.fields.CharField', [], {'max_length':
        '200'}), 'id': ('django.db.models.fields.AutoField', [], {
        'primary_key': 'True'}), 'name': (
        'django.db.models.fields.CharField', [], {'max_length': '200'})},
        'contenttypes.contenttype': {'Meta': {'ordering': "('name',)",
        'unique_together': "(('app_label', 'model'),)", 'object_name':
        'ContentType', 'db_table': "'django_content_type'"}, 'app_label': (
        'django.db.models.fields.CharField', [], {'max_length': '100'}),
        'id': ('django.db.models.fields.AutoField', [], {'primary_key':
        'True'}), 'model': ('django.db.models.fields.CharField', [], {
        'max_length': '100'}), 'name': ('django.db.models.fields.CharField',
        [], {'max_length': '100'})}}
    complete_apps = ['opentapp.barportal']

# -*- 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 model 'Bar'
        db.create_table('opentapp.barportal_bar', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=200)),
            ('cover_photo', self.gf('django.db.models.fields.files.ImageField')(max_length=100, null=True, blank=True)),
            ('raw_menu', self.gf('django.db.models.fields.files.FileField')(max_length=100, null=True, blank=True)),
            ('longitude', self.gf('django.db.models.fields.DecimalField')(max_digits=10, decimal_places=7)),
            ('latitude', self.gf('django.db.models.fields.DecimalField')(max_digits=10, decimal_places=7)),
            ('address', self.gf('django.db.models.fields.CharField')(max_length=200)),
            ('hours_from', self.gf('django.db.models.fields.TimeField')(null=True, blank=True)),
            ('hours_to', self.gf('django.db.models.fields.TimeField')(null=True, blank=True)),
            ('kitchen_hours_from', self.gf('django.db.models.fields.TimeField')(null=True, blank=True)),
            ('kitchen_hours_to', self.gf('django.db.models.fields.TimeField')(null=True, blank=True)),
            ('bar_tz', self.gf('django.db.models.fields.CharField')(max_length=100)),
            ('phone', self.gf('django.db.models.fields.CharField')(max_length=15, null=True, blank=True)),
            ('description', self.gf('django.db.models.fields.CharField')(max_length=500, null=True, blank=True)),
            ('tvs', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('rating', self.gf('django.db.models.fields.IntegerField')(null=True, blank=True)),
        ))
        db.send_create_signal('opentapp.barportal', ['Bar'])

        # Adding model 'BarUser'
        db.create_table('opentapp.barportal_baruser', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('user', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['auth.User'], unique=True)),
            ('bar', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['opentapp.barportal.Bar'])),
        ))
        db.send_create_signal('opentapp.barportal', ['BarUser'])

        # Adding model 'Menu'
        db.create_table('opentapp.barportal_menu', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('bar', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['opentapp.barportal.Bar'], unique=True)),
        ))
        db.send_create_signal('opentapp.barportal', ['Menu'])

        # Adding model 'MenuItem'
        db.create_table('opentapp.barportal_menuitem', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('menu', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['opentapp.barportal.Menu'])),
            ('price', self.gf('django.db.models.fields.DecimalField')(max_digits=5, decimal_places=2)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=200)),
        ))
        db.send_create_signal('opentapp.barportal', ['MenuItem'])

        # Adding model 'SingleCoupon'
        db.create_table('opentapp.barportal_singlecoupon', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('bar', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['opentapp.barportal.Bar'])),
            ('applies_to', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['opentapp.barportal.MenuItem'], null=True, blank=True)),
            ('coupon_description', self.gf('django.db.models.fields.CharField')(max_length=200)),
            ('issued_at', self.gf('django.db.models.fields.DateTimeField')()),
            ('from_date', self.gf('django.db.models.fields.DateField')()),
            ('to_date', self.gf('django.db.models.fields.DateField')()),
            ('from_time', self.gf('django.db.models.fields.TimeField')()),
            ('to_time', self.gf('django.db.models.fields.TimeField')()),
            ('num_redeemed', self.gf('django.db.models.fields.IntegerField')(default=0)),
            ('one_per_customer', self.gf('django.db.models.fields.BooleanField')(default=False)),
        ))
        db.send_create_signal('opentapp.barportal', ['SingleCoupon'])

        # Adding model 'GroupCoupon'
        db.create_table('opentapp.barportal_groupcoupon', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('bar', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['opentapp.barportal.Bar'])),
            ('applies_to', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['opentapp.barportal.MenuItem'], null=True, blank=True)),
            ('coupon_description', self.gf('django.db.models.fields.CharField')(max_length=200)),
            ('issued_at', self.gf('django.db.models.fields.DateTimeField')()),
            ('from_date', self.gf('django.db.models.fields.DateField')()),
            ('to_date', self.gf('django.db.models.fields.DateField')()),
            ('from_time', self.gf('django.db.models.fields.TimeField')()),
            ('to_time', self.gf('django.db.models.fields.TimeField')()),
            ('num_redeemed', self.gf('django.db.models.fields.IntegerField')(default=0)),
            ('one_per_customer', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('tier_one_min', self.gf('django.db.models.fields.IntegerField')()),
            ('tier_one_max', self.gf('django.db.models.fields.IntegerField')()),
            ('tier_two_min', self.gf('django.db.models.fields.IntegerField')(null=True, blank=True)),
            ('tier_two_max', self.gf('django.db.models.fields.IntegerField')(null=True, blank=True)),
            ('second_tier_description', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
        ))
        db.send_create_signal('opentapp.barportal', ['GroupCoupon'])

        # Adding model 'MobileUser'
        db.create_table('opentapp.barportal_mobileuser', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('fb_id', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
        ))
        db.send_create_signal('opentapp.barportal', ['MobileUser'])

        # Adding model 'GroupRedemption'
        db.create_table('opentapp.barportal_groupredemption', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('creator', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['opentapp.barportal.MobileUser'])),
            ('applies_to', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['opentapp.barportal.GroupCoupon'])),
        ))
        db.send_create_signal('opentapp.barportal', ['GroupRedemption'])

        # Adding model 'GroupMembers'
        db.create_table('opentapp.barportal_groupmembers', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('group', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['opentapp.barportal.GroupRedemption'])),
            ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['opentapp.barportal.MobileUser'])),
            ('has_confirmed', self.gf('django.db.models.fields.BooleanField')(default=False)),
        ))
        db.send_create_signal('opentapp.barportal', ['GroupMembers'])

        # Adding model 'CouponRedemption'
        db.create_table('opentapp.barportal_couponredemption', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('touch_datetime', self.gf('django.db.models.fields.DateTimeField')()),
            ('phone', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['opentapp.barportal.MobileUser'], null=True, blank=True)),
            ('single_coupon', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['opentapp.barportal.SingleCoupon'], null=True, blank=True)),
            ('group_coupon', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['opentapp.barportal.GroupCoupon'], null=True, blank=True)),
        ))
        db.send_create_signal('opentapp.barportal', ['CouponRedemption'])

        # Adding model 'Payment'
        db.create_table('opentapp.barportal_payment', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('touch_datetime', self.gf('django.db.models.fields.DateTimeField')()),
            ('bar', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['opentapp.barportal.Bar'])),
            ('amount', self.gf('django.db.models.fields.IntegerField')()),
        ))
        db.send_create_signal('opentapp.barportal', ['Payment'])

        # Adding model 'User'
        db.create_table('opentapp.barportal_user', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=200)),
            ('email', self.gf('django.db.models.fields.CharField')(max_length=200)),
        ))
        db.send_create_signal('opentapp.barportal', ['User'])


    def backwards(self, orm):
        # Deleting model 'Bar'
        db.delete_table('opentapp.barportal_bar')

        # Deleting model 'BarUser'
        db.delete_table('opentapp.barportal_baruser')

        # Deleting model 'Menu'
        db.delete_table('opentapp.barportal_menu')

        # Deleting model 'MenuItem'
        db.delete_table('opentapp.barportal_menuitem')

        # Deleting model 'SingleCoupon'
        db.delete_table('opentapp.barportal_singlecoupon')

        # Deleting model 'GroupCoupon'
        db.delete_table('opentapp.barportal_groupcoupon')

        # Deleting model 'MobileUser'
        db.delete_table('opentapp.barportal_mobileuser')

        # Deleting model 'GroupRedemption'
        db.delete_table('opentapp.barportal_groupredemption')

        # Deleting model 'GroupMembers'
        db.delete_table('opentapp.barportal_groupmembers')

        # Deleting model 'CouponRedemption'
        db.delete_table('opentapp.barportal_couponredemption')

        # Deleting model 'Payment'
        db.delete_table('opentapp.barportal_payment')

        # Deleting model 'User'
        db.delete_table('opentapp.barportal_user')


    models = {
        'auth.group': {
            'Meta': {'object_name': 'Group'},
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
            'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
        },
        'auth.permission': {
            'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
            'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
        },
        'auth.user': {
            'Meta': {'object_name': 'User'},
            'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
            'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
            'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
            'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
            'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
            'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
            'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
        },
        'opentapp.barportal.bar': {
            'Meta': {'object_name': 'Bar'},
            'address': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
            'bar_tz': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'cover_photo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
            'description': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True', 'blank': 'True'}),
            'hours_from': ('django.db.models.fields.TimeField', [], {'null': 'True', 'blank': 'True'}),
            'hours_to': ('django.db.models.fields.TimeField', [], {'null': 'True', 'blank': 'True'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'kitchen_hours_from': ('django.db.models.fields.TimeField', [], {'null': 'True', 'blank': 'True'}),
            'kitchen_hours_to': ('django.db.models.fields.TimeField', [], {'null': 'True', 'blank': 'True'}),
            'latitude': ('django.db.models.fields.DecimalField', [], {'max_digits': '10', 'decimal_places': '7'}),
            'longitude': ('django.db.models.fields.DecimalField', [], {'max_digits': '10', 'decimal_places': '7'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
            'phone': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}),
            'rating': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
            'raw_menu': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
            'tvs': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
        },
        'opentapp.barportal.baruser': {
            'Meta': {'object_name': 'BarUser'},
            'bar': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['opentapp.barportal.Bar']"}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'})
        },
        'opentapp.barportal.couponredemption': {
            'Meta': {'object_name': 'CouponRedemption'},
            'group_coupon': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['opentapp.barportal.GroupCoupon']", 'null': 'True', 'blank': 'True'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'phone': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['opentapp.barportal.MobileUser']", 'null': 'True', 'blank': 'True'}),
            'single_coupon': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['opentapp.barportal.SingleCoupon']", 'null': 'True', 'blank': 'True'}),
            'touch_datetime': ('django.db.models.fields.DateTimeField', [], {})
        },
        'opentapp.barportal.groupcoupon': {
            'Meta': {'object_name': 'GroupCoupon'},
            'applies_to': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['opentapp.barportal.MenuItem']", 'null': 'True', 'blank': 'True'}),
            'bar': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['opentapp.barportal.Bar']"}),
            'coupon_description': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
            'from_date': ('django.db.models.fields.DateField', [], {}),
            'from_time': ('django.db.models.fields.TimeField', [], {}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'issued_at': ('django.db.models.fields.DateTimeField', [], {}),
            'num_redeemed': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
            'one_per_customer': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'second_tier_description': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'tier_one_max': ('django.db.models.fields.IntegerField', [], {}),
            'tier_one_min': ('django.db.models.fields.IntegerField', [], {}),
            'tier_two_max': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
            'tier_two_min': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
            'to_date': ('django.db.models.fields.DateField', [], {}),
            'to_time': ('django.db.models.fields.TimeField', [], {})
        },
        'opentapp.barportal.groupmembers': {
            'Meta': {'object_name': 'GroupMembers'},
            'group': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['opentapp.barportal.GroupRedemption']"}),
            'has_confirmed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['opentapp.barportal.MobileUser']"})
        },
        'opentapp.barportal.groupredemption': {
            'Meta': {'object_name': 'GroupRedemption'},
            'applies_to': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['opentapp.barportal.GroupCoupon']"}),
            'creator': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['opentapp.barportal.MobileUser']"}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
        },
        'opentapp.barportal.menu': {
            'Meta': {'object_name': 'Menu'},
            'bar': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['opentapp.barportal.Bar']", 'unique': 'True'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
        },
        'opentapp.barportal.menuitem': {
            'Meta': {'object_name': 'MenuItem'},
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'menu': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['opentapp.barportal.Menu']"}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
            'price': ('django.db.models.fields.DecimalField', [], {'max_digits': '5', 'decimal_places': '2'})
        },
        'opentapp.barportal.mobileuser': {
            'Meta': {'object_name': 'MobileUser'},
            'fb_id': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'})
        },
        'opentapp.barportal.payment': {
            'Meta': {'object_name': 'Payment'},
            'amount': ('django.db.models.fields.IntegerField', [], {}),
            'bar': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['opentapp.barportal.Bar']"}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'touch_datetime': ('django.db.models.fields.DateTimeField', [], {})
        },
        'opentapp.barportal.singlecoupon': {
            'Meta': {'object_name': 'SingleCoupon'},
            'applies_to': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['opentapp.barportal.MenuItem']", 'null': 'True', 'blank': 'True'}),
            'bar': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['opentapp.barportal.Bar']"}),
            'coupon_description': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
            'from_date': ('django.db.models.fields.DateField', [], {}),
            'from_time': ('django.db.models.fields.TimeField', [], {}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'issued_at': ('django.db.models.fields.DateTimeField', [], {}),
            'num_redeemed': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
            'one_per_customer': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'to_date': ('django.db.models.fields.DateField', [], {}),
            'to_time': ('django.db.models.fields.TimeField', [], {})
        },
        'opentapp.barportal.user': {
            'Meta': {'object_name': 'User'},
            'email': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
        },
        'contenttypes.contenttype': {
            'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
            'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
        }
    }

    complete_apps = ['opentapp.barportal']