summaryrefslogtreecommitdiff
path: root/app/income/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'app/income/migrations')
-rw-r--r--app/income/migrations/0001_initial.py37
-rw-r--r--app/income/migrations/0002_gig_due_date.py21
-rw-r--r--app/income/migrations/__init__.py0
3 files changed, 58 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')),
+ ],
+ ),
+ ]
diff --git a/app/income/migrations/0002_gig_due_date.py b/app/income/migrations/0002_gig_due_date.py
new file mode 100644
index 0000000..ccd0f73
--- /dev/null
+++ b/app/income/migrations/0002_gig_due_date.py
@@ -0,0 +1,21 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9 on 2016-02-10 08:49
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+import django.utils.timezone
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('income', '0001_initial'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='gig',
+ name='due_date',
+ field=models.DateField(default=django.utils.timezone.now),
+ ),
+ ]
diff --git a/app/income/migrations/__init__.py b/app/income/migrations/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/app/income/migrations/__init__.py