# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2016-02-10 08:48 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ('resume', '0003_auto_20151211_1925'), ] operations = [ migrations.CreateModel( name='Gig', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=200)), ('pitch', models.TextField(blank=True, null=True)), ('created', models.DateTimeField(default=django.utils.timezone.now)), ('pub_date', models.DateTimeField(default=django.utils.timezone.now)), ('status', models.IntegerField(choices=[(0, 'Pitched'), (1, 'Accepted'), (2, 'Submitted'), (3, 'Published'), (4, 'Rejected'), (5, 'TO PITCH')], default=1)), ('invoice_date', models.DateTimeField(blank=True, null=True)), ('payment', models.DecimalField(decimal_places=2, max_digits=10)), ('payment_status', models.IntegerField(choices=[(0, 'NOT SUBMITTED'), (1, 'Invoiced'), (2, 'Paid')], default=1)), ('pay_type', models.IntegerField(choices=[(0, 'Flat Rate'), (1, 'Per Word'), (2, 'Hourly')], default=1)), ('word_count', models.DecimalField(blank=True, decimal_places=0, max_digits=7, null=True)), ('pub_item', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='resume.PubItem')), ('publisher', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='resume.Publisher')), ], ), ]