diff options
Diffstat (limited to 'app/unused_apps/publications/migrations')
7 files changed, 0 insertions, 212 deletions
diff --git a/app/unused_apps/publications/migrations/0001_initial.py b/app/unused_apps/publications/migrations/0001_initial.py deleted file mode 100644 index 9212571..0000000 --- a/app/unused_apps/publications/migrations/0001_initial.py +++ /dev/null @@ -1,73 +0,0 @@ -# Generated by Django 2.1.1 on 2019-01-31 08:56 - -from django.db import migrations, models -import django.db.models.deletion -import taggit.managers - - -class Migration(migrations.Migration): - - initial = True - - dependencies = [ - ('taxonomy', '0001_initial'), - ] - - operations = [ - migrations.CreateModel( - name='Editor', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('first_name', models.CharField(max_length=250)), - ('last_name', models.CharField(max_length=250)), - ('email', models.CharField(blank=True, max_length=250)), - ('phone', models.CharField(blank=True, max_length=250)), - ('twitter', models.CharField(blank=True, max_length=250)), - ('slug', models.SlugField(blank=True)), - ('notes', models.TextField(blank=True)), - ('date_created', models.DateTimeField(auto_now_add=True)), - ('date_updated', models.DateTimeField(auto_now=True)), - ], - options={ - 'ordering': ('-last_name', '-date_created'), - }, - ), - migrations.CreateModel( - name='Pitch', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('title', models.CharField(max_length=250)), - ('pitch', models.TextField()), - ('slug', models.SlugField(blank=True)), - ('accepted', models.BooleanField(blank=True, null=True)), - ('date_sent', models.DateTimeField(blank=True, null=True)), - ('date_created', models.DateTimeField(auto_now_add=True)), - ('date_updated', models.DateTimeField(auto_now=True)), - ('editor', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='publications.Editor')), - ], - options={ - 'ordering': ('-title', '-date_sent'), - }, - ), - migrations.CreateModel( - name='Publication', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('name', models.CharField(max_length=250)), - ('slug', models.SlugField(blank=True, unique_for_date='pub_date')), - ('notes', models.TextField(blank=True)), - ('status', models.IntegerField(choices=[(0, 'Have Published With'), (1, 'Published')], default=0)), - ('date_created', models.DateTimeField(auto_now_add=True)), - ('date_updated', models.DateTimeField(auto_now=True)), - ('tags', taggit.managers.TaggableManager(blank=True, help_text='Topics Covered', through='taxonomy.TaggedItems', to='taxonomy.LuxTag', verbose_name='Tags')), - ], - options={ - 'ordering': ('-name', '-date_created'), - }, - ), - migrations.AddField( - model_name='editor', - name='publication', - field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='publications.Publication'), - ), - ] diff --git a/app/unused_apps/publications/migrations/0002_editor_section.py b/app/unused_apps/publications/migrations/0002_editor_section.py deleted file mode 100644 index a4675ae..0000000 --- a/app/unused_apps/publications/migrations/0002_editor_section.py +++ /dev/null @@ -1,18 +0,0 @@ -# Generated by Django 2.1.1 on 2019-01-31 09:00 - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('publications', '0001_initial'), - ] - - operations = [ - migrations.AddField( - model_name='editor', - name='section', - field=models.CharField(blank=True, max_length=50), - ), - ] diff --git a/app/unused_apps/publications/migrations/0003_auto_20190131_0923.py b/app/unused_apps/publications/migrations/0003_auto_20190131_0923.py deleted file mode 100644 index 6844c55..0000000 --- a/app/unused_apps/publications/migrations/0003_auto_20190131_0923.py +++ /dev/null @@ -1,37 +0,0 @@ -# Generated by Django 2.1.1 on 2019-01-31 09:23 - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('publications', '0002_editor_section'), - ] - - operations = [ - migrations.CreateModel( - name='Section', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('name', models.CharField(max_length=250)), - ('slug', models.SlugField(blank=True)), - ('date_created', models.DateTimeField(auto_now_add=True)), - ('date_updated', models.DateTimeField(auto_now=True)), - ], - ), - migrations.RemoveField( - model_name='editor', - name='section', - ), - migrations.AlterField( - model_name='publication', - name='status', - field=models.IntegerField(choices=[(0, 'Not Published'), (1, 'Published')], default=0), - ), - migrations.AddField( - model_name='editor', - name='section', - field=models.ManyToManyField(blank=True, to='publications.Section'), - ), - ] diff --git a/app/unused_apps/publications/migrations/0004_pitchidea.py b/app/unused_apps/publications/migrations/0004_pitchidea.py deleted file mode 100644 index db72d58..0000000 --- a/app/unused_apps/publications/migrations/0004_pitchidea.py +++ /dev/null @@ -1,28 +0,0 @@ -# Generated by Django 2.1.1 on 2019-01-31 10:46 - -from django.db import migrations, models -import django.db.models.deletion - - -class Migration(migrations.Migration): - - dependencies = [ - ('publications', '0003_auto_20190131_0923'), - ] - - operations = [ - migrations.CreateModel( - name='PitchIdea', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('title', models.CharField(max_length=250)), - ('pitch', models.TextField()), - ('date_created', models.DateTimeField(auto_now_add=True)), - ('date_updated', models.DateTimeField(auto_now=True)), - ('publication', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='publications.Publication')), - ], - options={ - 'ordering': ('-title', '-date_created'), - }, - ), - ] diff --git a/app/unused_apps/publications/migrations/0005_auto_20190131_1100.py b/app/unused_apps/publications/migrations/0005_auto_20190131_1100.py deleted file mode 100644 index a800dcf..0000000 --- a/app/unused_apps/publications/migrations/0005_auto_20190131_1100.py +++ /dev/null @@ -1,23 +0,0 @@ -# Generated by Django 2.1.1 on 2019-01-31 11:00 - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('publications', '0004_pitchidea'), - ] - - operations = [ - migrations.AddField( - model_name='publication', - name='section', - field=models.ManyToManyField(blank=True, to='publications.Section'), - ), - migrations.AddField( - model_name='publication', - name='url', - field=models.CharField(blank=True, max_length=250), - ), - ] diff --git a/app/unused_apps/publications/migrations/0006_auto_20190222_1819.py b/app/unused_apps/publications/migrations/0006_auto_20190222_1819.py deleted file mode 100644 index 8c779dd..0000000 --- a/app/unused_apps/publications/migrations/0006_auto_20190222_1819.py +++ /dev/null @@ -1,33 +0,0 @@ -# Generated by Django 2.1.5 on 2019-02-22 18:19 - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('publications', '0005_auto_20190131_1100'), - ] - - operations = [ - migrations.AddField( - model_name='publication', - name='pays', - field=models.BooleanField(default=True), - ), - migrations.AddField( - model_name='publication', - name='pays_amount', - field=models.CharField(blank=True, max_length=100), - ), - migrations.AddField( - model_name='publication', - name='submission_period_end', - field=models.DateField(blank=True, null=True), - ), - migrations.AddField( - model_name='publication', - name='submission_period_start', - field=models.DateField(blank=True, null=True), - ), - ] diff --git a/app/unused_apps/publications/migrations/__init__.py b/app/unused_apps/publications/migrations/__init__.py deleted file mode 100644 index e69de29..0000000 --- a/app/unused_apps/publications/migrations/__init__.py +++ /dev/null |