@@ -0,0 +1,3083 @@
+# -*- coding: utf-8 -*-%0A# Generated by Django 1.10.4 on 2017-04-02 20:00%0Afrom __future__ import unicode_literals%0A%0Afrom django.conf import settings%0Afrom django.db import migrations, models%0Aimport django.db.models.deletion%0Aimport ojs.models%0A%0A%0Aclass Migration(migrations.Migration):%0A%0A    dependencies = %5B%0A        migrations.swappable_dependency(settings.AUTH_USER_MODEL),%0A        ('ojs', '0006_auto_20170327_0856'),%0A    %5D%0A%0A    operations = %5B%0A        migrations.CreateModel(%0A            name='Author',%0A            fields=%5B%0A                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),%0A                ('ojs_jid', models.PositiveIntegerField(default=0)),%0A            %5D,%0A        ),%0A        migrations.CreateModel(%0A            name='Reviewer',%0A            fields=%5B%0A                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),%0A                ('ojs_jid', models.PositiveIntegerField(default=0)),%0A            %5D,%0A        ),%0A        migrations.AlterUniqueTogether(%0A            name='ojsuser',%0A            unique_together=set(%5B%5D),%0A        ),%0A        migrations.RemoveField(%0A            model_name='ojsuser',%0A            name='submission',%0A        ),%0A        migrations.RemoveField(%0A            model_name='ojsuser',%0A            name='user',%0A        ),%0A        migrations.RemoveField(%0A            model_name='submissionrevision',%0A            name='file_object',%0A        ),%0A        migrations.AddField(%0A            model_name='submission',%0A            name='file_object',%0A            field=models.FileField(default='', upload_to=ojs.models.submission_filename),%0A            preserve_default=False,%0A        ),%0A        migrations.AlterField(%0A            model_name='submissionrevision',%0A            name='version',%0A            field=models.CharField(default='1.0.0', max_length=8),%0A        ),%0A        migrations.DeleteModel(%0A            name='OJSUser',%0A        ),%0A        migrations.AddField(%0A            model_name='reviewer',%0A            name='revision',%0A            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='ojs.SubmissionRevision'),%0A        ),%0A        migrations.AddField(%0A            model_name='reviewer',%0A            name='user',%0A            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),%0A        ),%0A        migrations.AddField(%0A            model_name='author',%0A            name='submission',%0A            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='ojs.Submission'),%0A        ),%0A        migrations.AddField(%0A            model_name='author',%0A            name='user',%0A            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),%0A        ),%0A        migrations.AlterUniqueTogether(%0A            name='reviewer',%0A            unique_together=set(%5B('revision', 'ojs_jid')%5D),%0A        ),%0A        migrations.AlterUniqueTogether(%0A            name='author',%0A            unique_together=set(%5B('submission', 'ojs_jid')%5D),%0A        ),%0A    %5D%0A

add migration