summaryrefslogtreecommitdiff
path: root/app/income/migrations/0001_initial.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2016-02-10 08:52:45 -0500
committerluxagraf <sng@luxagraf.net>2016-02-10 08:52:45 -0500
commitf4942f3c55c19bed5104e751f4aad8264d7770f1 (patch)
treea1e4a7854442f2f99407fc5b76171e8cdccb6639 /app/income/migrations/0001_initial.py
parent4437a04b9b733860703b85ae26aa94eb12a9803b (diff)
added income migrations
Diffstat (limited to 'app/income/migrations/0001_initial.py')
-rw-r--r--app/income/migrations/0001_initial.py37
1 files changed, 37 insertions, 0 deletions
diff --git a/app/income/migrations/0001_initial.py b/app/income/migrations/0001_initial.py
new file mode 100644
index 0000000..3a1e926
--- /dev/null
+++ b/app/income/migrations/0001_initial.py
@@ -0,0 +1,37 @@
+# -*- 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')),
+ ],
+ ),
+ ]