Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Adiciona uma versão inicial da carga do sucupira #209

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions scholarly_articles/choices.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,5 @@
("", ""),
("UNPAYWALL", "UNPAYWALL"),
("CROSSREF", "CROSSREF"),
("SUCUPIRA", "SUCUPIRA"),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Generated by Django 4.1.6 on 2023-05-25 10:37

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("scholarly_articles", "0012_scholarlyarticles_license"),
]

operations = [
migrations.AlterField(
model_name="scholarlyarticles",
name="source",
field=models.CharField(
blank=True,
choices=[
("", ""),
("UNPAYWALL", "UNPAYWALL"),
("CROSSREF", "CROSSREF"),
("CAPES", "CAPES"),
],
max_length=50,
null=True,
verbose_name="Record Source",
),
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Generated by Django 4.1.6 on 2023-06-05 13:36

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("scholarly_articles", "0013_alter_scholarlyarticles_source"),
]

operations = [
migrations.AddField(
model_name="scholarlyarticles",
name="id_int_production",
field=models.CharField(
blank=True,
max_length=100,
null=True,
verbose_name="Id Intellectual Production",
),
),
migrations.AlterField(
model_name="scholarlyarticles",
name="source",
field=models.CharField(
blank=True,
choices=[
("", ""),
("UNPAYWALL", "UNPAYWALL"),
("CROSSREF", "CROSSREF"),
("SUCUPIRA", "SUCUPIRA"),
],
max_length=50,
null=True,
verbose_name="Record Source",
),
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Generated by Django 4.1.6 on 2023-06-05 17:11

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

dependencies = [
("institution", "0005_alter_institution_creator_and_more"),
("scholarly_articles", "0014_scholarlyarticles_id_int_production_and_more"),
]

operations = [
migrations.CreateModel(
name="Programs",
fields=[
(
"id",
models.BigAutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
(
"name",
models.CharField(
blank=True,
max_length=510,
null=True,
verbose_name="Program Name",
),
),
(
"institution",
models.ForeignKey(
blank=True,
max_length=1020,
null=True,
on_delete=django.db.models.deletion.SET_NULL,
to="institution.institution",
verbose_name="Instituição",
),
),
],
),
migrations.AddField(
model_name="contributors",
name="programs",
field=models.ManyToManyField(
blank=True, to="scholarly_articles.programs", verbose_name="Programs"
),
),
]
24 changes: 24 additions & 0 deletions scholarly_articles/migrations/0016_alter_errorlog_error_type.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Generated by Django 4.1.6 on 2023-06-07 10:16

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("scholarly_articles", "0015_programs_contributors_programs"),
]

operations = [
migrations.AlterField(
model_name="errorlog",
name="error_type",
field=models.CharField(
blank=True,
help_text="Type of python error.",
max_length=100,
null=True,
verbose_name="Tipo de erro",
),
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Generated by Django 4.1.6 on 2023-06-07 10:18

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("scholarly_articles", "0016_alter_errorlog_error_type"),
]

operations = [
migrations.AlterField(
model_name="errorlog",
name="data_reference",
field=models.CharField(
blank=True,
help_text="Reference to the data, can be id, line. Use line:10 or id:452 to to differ between id|line.",
max_length=100,
null=True,
verbose_name="Reference data",
),
),
]
23 changes: 23 additions & 0 deletions scholarly_articles/migrations/0018_alter_errorlog_data.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Generated by Django 4.1.6 on 2023-06-07 10:49

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("scholarly_articles", "0017_alter_errorlog_data_reference"),
]

operations = [
migrations.AlterField(
model_name="errorlog",
name="data",
field=models.TextField(
blank=True,
help_text="Data when the error happened.",
null=True,
verbose_name="Data",
),
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Generated by Django 4.1.6 on 2023-06-07 16:19

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

dependencies = [
("scholarly_articles", "0018_alter_errorlog_data"),
]

operations = [
migrations.AlterField(
model_name="journals",
name="journal_name",
field=models.CharField(
blank=True, max_length=510, null=True, verbose_name="Nome do periódico"
),
),
migrations.AlterField(
model_name="scholarlyarticles",
name="journal",
field=models.ForeignKey(
blank=True,
null=True,
on_delete=django.db.models.deletion.SET_NULL,
to="scholarly_articles.journals",
verbose_name="Periódico",
),
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Generated by Django 4.1.6 on 2023-06-07 16:25

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

dependencies = [
("scholarly_articles", "0019_alter_journals_journal_name_and_more"),
]

operations = [
migrations.AlterField(
model_name="scholarlyarticles",
name="license",
field=models.ForeignKey(
blank=True,
null=True,
on_delete=django.db.models.deletion.SET_NULL,
to="scholarly_articles.license",
verbose_name="License",
),
),
]
Loading