Commit 6389831b authored by Samuel GAIST's avatar Samuel GAIST Committed by Flavio TARSETTI

[migrations] Code update based migrations

parent 62b9ee41
# Generated by Django 3.1.3 on 2020-11-13 09:54
from django.db import migrations
from django.db import models
class Migration(migrations.Migration):
dependencies = [
("algorithms", "0004_algorithm_type"),
]
operations = [
migrations.AlterField(
model_name="algorithm",
name="language",
field=models.CharField(
choices=[
("U", "Unknown"),
("C", "Cxx"),
("M", "Matlab"),
("P", "Python"),
("R", "R"),
],
default="P",
max_length=1,
),
),
migrations.AlterField(
model_name="algorithm",
name="type",
field=models.CharField(
choices=[("L", "Legacy"), ("S", "Sequential"), ("A", "Autonomous")],
default="S",
max_length=1,
),
),
]
# Generated by Django 3.1.3 on 2020-11-13 09:54
import django.db.models.deletion
from django.db import migrations
from django.db import models
class Migration(migrations.Migration):
dependencies = [
("toolchains", "0001_initial"),
("attestations", "0001_initial"),
]
operations = [
migrations.AlterField(
model_name="attestation",
name="toolchain",
field=models.ForeignKey(
blank=True,
null=True,
on_delete=django.db.models.deletion.CASCADE,
related_name="attestations",
to="toolchains.toolchain",
),
),
]
# Generated by Django 3.1.3 on 2020-11-13 09:54
import django.db.models.deletion
from django.db import migrations
from django.db import models
class Migration(migrations.Migration):
dependencies = [
("backend", "0007_delete_localschedulerprocesses"),
]
operations = [
migrations.AlterField(
model_name="environment",
name="active",
field=models.BooleanField(
default=True, help_text="If this environment can be used in experiments"
),
),
migrations.AlterField(
model_name="environment",
name="creation_date",
field=models.DateTimeField(auto_now_add=True, verbose_name="Creation date"),
),
migrations.AlterField(
model_name="environment",
name="description",
field=models.TextField(
blank=True,
default="",
help_text='Describe the object thoroughly using <a href="http://docutils.sourceforge.net/rst.html">reStructuredText mark-up</a><br/><i class="fa fa-thumbs-up"></i> The ruler at 80 columns indicate suggested <a href="https://en.wikipedia.org/wiki/POSIX">POSIX line breaks</a> (for readability).<br/><i class="fa fa-thumbs-up"></i> The editor will automatically enlarge to accomodate the entirety of your input<br/><i class="fa fa-thumbs-up"></i> Use <a href="http://codemirror.net/doc/manual.html#commands">keyboard shortcuts</a> for search/replace and faster editing. For example, use Ctrl-F (PC) or Cmd-F (Mac) to search through this box',
),
),
migrations.AlterField(
model_name="environment",
name="name",
field=models.CharField(
help_text="The name for this object (space-like characters will be automatically replaced by dashes)",
max_length=200,
),
),
migrations.AlterField(
model_name="environment",
name="sharing",
field=models.CharField(
choices=[
("P", "Private"),
("S", "Shared"),
("A", "Public"),
("U", "Usable"),
],
default="P",
max_length=1,
),
),
migrations.AlterField(
model_name="environment",
name="short_description",
field=models.CharField(
blank=True,
default="",
help_text="Describe the object succinctly (try to keep it under 80 characters)",
max_length=100,
),
),
migrations.AlterField(
model_name="environment",
name="version",
field=models.CharField(
help_text="Free-style version for this environment (normally read from the Worker/Scheduler available environments)",
max_length=20,
),
),
migrations.AlterField(
model_name="environmentlanguage",
name="language",
field=models.CharField(
choices=[
("U", "Unknown"),
("C", "Cxx"),
("M", "Matlab"),
("P", "Python"),
("R", "R"),
],
default="P",
max_length=1,
),
),
migrations.AlterField(
model_name="jobsplit",
name="job",
field=models.ForeignKey(
null=True,
on_delete=django.db.models.deletion.CASCADE,
related_name="splits",
to="backend.job",
),
),
migrations.AlterField(
model_name="jobsplit",
name="status",
field=models.CharField(
choices=[
("N", "Queued"),
("P", "Processing"),
("C", "Completed"),
("F", "Failed"),
("L", "Cancelled"),
("K", "Cancelling"),
],
default="N",
max_length=1,
),
),
migrations.AlterField(
model_name="queue",
name="memory_limit",
field=models.PositiveIntegerField(help_text="In megabytes"),
),
migrations.AlterField(
model_name="queue",
name="name",
field=models.CharField(
help_text="The name for this object (space-like characters will be automatically replaced by dashes)",
max_length=100,
unique=True,
),
),
migrations.AlterField(
model_name="queue",
name="time_limit",
field=models.PositiveIntegerField(help_text="In minutes"),
),
migrations.AlterField(
model_name="slot",
name="priority",
field=models.PositiveIntegerField(
default=0, help_text="Priority of these slots on the defined queue"
),
),
migrations.AlterField(
model_name="slot",
name="quantity",
field=models.PositiveIntegerField(
help_text="Number of processing slots to dedicate in this worker for a given queue",
verbose_name="Number of slots",
),
),
migrations.AlterField(
model_name="worker",
name="info",
field=models.TextField(
blank=True, help_text="Informative message from the worker", null=True
),
),
migrations.AlterField(
model_name="worker",
name="memory",
field=models.PositiveIntegerField(default=0, help_text="In megabytes"),
),
migrations.AlterField(
model_name="worker",
name="name",
field=models.CharField(
help_text="The name for this object (space-like characters will be automatically replaced by dashes)",
max_length=100,
unique=True,
),
),
migrations.AlterField(
model_name="worker",
name="used_cores",
field=models.PositiveIntegerField(default=0, help_text="In %"),
),
migrations.AlterField(
model_name="worker",
name="used_memory",
field=models.PositiveIntegerField(default=0, help_text="In %"),
),
]
# Generated by Django 3.1.3 on 2020-11-13 09:54
import django.db.models.deletion
from django.db import migrations
from django.db import models
class Migration(migrations.Migration):
dependencies = [
("databases", "0007_add_accessibility_date"),
]
operations = [
migrations.AlterField(
model_name="database",
name="previous_version",
field=models.ForeignKey(
blank=True,
null=True,
on_delete=django.db.models.deletion.SET_NULL,
related_name="next_versions",
to="databases.database",
),
),
]
# Generated by Django 3.1.3 on 2020-11-13 09:54
import django.db.models.deletion
from django.db import migrations
from django.db import models
class Migration(migrations.Migration):
dependencies = [
("dataformats", "0002_auto_20160704_1319"),
]
operations = [
migrations.AlterField(
model_name="dataformat",
name="extend",
field=models.ForeignKey(
blank=True,
null=True,
on_delete=django.db.models.deletion.SET_NULL,
related_name="extensions",
to="dataformats.dataformat",
),
),
]
# Generated by Django 3.1.3 on 2020-11-13 09:54
import django.db.models.deletion
from django.db import migrations
from django.db import models
class Migration(migrations.Migration):
dependencies = [
("experiments", "0009_block_status"),
]
operations = [
migrations.AlterField(
model_name="block",
name="channel",
field=models.CharField(
blank=True,
default="",
help_text="Synchronization channel within the toolchain",
max_length=200,
),
),
migrations.AlterField(
model_name="block",
name="status",
field=models.CharField(
choices=[
("N", "Pending"),
("P", "Processing"),
("C", "Done"),
("F", "Failed"),
("L", "Cancelled"),
],
default="N",
max_length=1,
),
),
migrations.AlterField(
model_name="blockinput",
name="channel",
field=models.CharField(
blank=True,
default="",
help_text="Synchronization channel within the toolchain",
max_length=200,
),
),
migrations.AlterField(
model_name="cachedfile",
name="status",
field=models.CharField(
choices=[("N", "Not cached"), ("P", "Processing"), ("C", "Cached")],
default="N",
max_length=1,
),
),
migrations.AlterField(
model_name="result",
name="cache",
field=models.ForeignKey(
null=True,
on_delete=django.db.models.deletion.CASCADE,
related_name="results",
to="experiments.cachedfile",
),
),
]
# Generated by Django 3.1.3 on 2020-11-13 09:54
from django.db import migrations
from django.db import models
class Migration(migrations.Migration):
dependencies = [
("libraries", "0003_auto_20161123_1218"),
]
operations = [
migrations.AlterField(
model_name="library",
name="language",
field=models.CharField(
choices=[
("U", "Unknown"),
("C", "Cxx"),
("M", "Matlab"),
("P", "Python"),
("R", "R"),
],
default="P",
max_length=1,
),
),
]
# Generated by Django 3.1.3 on 2020-11-13 09:54
from django.db import migrations
from django.db import models
class Migration(migrations.Migration):
dependencies = [
("navigation", "0001_initial"),
]
operations = [
migrations.AlterField(
model_name="agreement",
name="version",
field=models.PositiveIntegerField(
default=1, help_text="Last version of the ToS the user has agreed with"
),
),
]
# Generated by Django 3.1.3 on 2020-11-13 09:54
from django.db import migrations
from django.db import models
class Migration(migrations.Migration):
dependencies = [
("plotters", "0004_merge"),
]
operations = [
migrations.AlterField(
model_name="plotter",
name="language",
field=models.CharField(
choices=[
("U", "Unknown"),
("C", "Cxx"),
("M", "Matlab"),
("P", "Python"),
("R", "R"),
],
default="P",
max_length=1,
),
),
migrations.AlterField(
model_name="plotter",
name="sample_data",
field=models.TextField(blank=True, default="{}"),
),
]
# Generated by Django 3.1.3 on 2020-11-13 09:54
import django.db.models.deletion
from django.db import migrations
from django.db import models
class Migration(migrations.Migration):
dependencies = [
("algorithms", "0005_auto_20201113_0954"),
("reports", "0004_auto_20170410_1121"),
]
operations = [
migrations.AlterField(
model_name="report",
name="analyzer",
field=models.ForeignKey(
blank=True,
null=True,
on_delete=django.db.models.deletion.CASCADE,
related_name="reports",
to="algorithms.algorithm",
),
),
migrations.AlterField(
model_name="report",
name="content",
field=models.TextField(blank=True, default="{}"),
),
migrations.AlterField(
model_name="report",
name="description",
field=models.TextField(blank=True, default=""),
),
migrations.AlterField(
model_name="report",
name="name",
field=models.CharField(
help_text="The name for this object (space-like characters will be automatically replaced by dashes)",
max_length=200,
),
),
migrations.AlterField(
model_name="report",
name="short_description",
field=models.CharField(
blank=True,
default="",
help_text="Describe the object succinctly (try to keep it under 80 characters)",
max_length=100,
),
),
migrations.AlterField(
model_name="report",
name="status",
field=models.CharField(
choices=[("E", "Editable"), ("L", "Locked"), ("P", "Published")],
default="E",
max_length=1,
),
),
]
# Generated by Django 3.1.3 on 2020-11-13 09:54
from django.conf import settings
from django.db import migrations
from django.db import models
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
("experiments", "0010_auto_20201113_0954"),
("search", "0002_scheduler_addons"),
]
operations = [
migrations.AlterField(
model_name="leaderboard",
name="experiments",
field=models.ManyToManyField(
blank=True,
help_text="Experiments currently set on the leaderboard",
related_name="leaderboards",
through="search.Rank",
to="experiments.Experiment",
),
),
migrations.AlterField(
model_name="leaderboard",
name="notify",
field=models.ManyToManyField(
blank=True,
help_text="If set, and the leader board changes, an e-mail notification will be sent to people on this list, every time it changes.",
limit_choices_to={"is_active": True},
to=settings.AUTH_USER_MODEL,
),
),
migrations.AlterField(
model_name="search",
name="creation_date",
field=models.DateTimeField(auto_now_add=True, verbose_name="Creation date"),
),
migrations.AlterField(
model_name="search",
name="description",
field=models.TextField(
blank=True,
default="",
help_text='Describe the object thoroughly using <a href="http://docutils.sourceforge.net/rst.html">reStructuredText mark-up</a><br/><i class="fa fa-thumbs-up"></i> The ruler at 80 columns indicate suggested <a href="https://en.wikipedia.org/wiki/POSIX">POSIX line breaks</a> (for readability).<br/><i class="fa fa-thumbs-up"></i> The editor will automatically enlarge to accomodate the entirety of your input<br/><i class="fa fa-thumbs-up"></i> Use <a href="http://codemirror.net/doc/manual.html#commands">keyboard shortcuts</a> for search/replace and faster editing. For example, use Ctrl-F (PC) or Cmd-F (Mac) to search through this box',
),
),
migrations.AlterField(
model_name="search",
name="filters",
field=models.TextField(blank=True, default=""),
),
migrations.AlterField(
model_name="search",
name="hash",
field=models.CharField(
editable=False,
help_text='Hashed value of the object contents (<a href="https://docs.python.org/2/library/hashlib.html">SHA256, hexadecimal digest</a>). This field is auto-generated and managed by the platform.',
max_length=64,
),
),
migrations.AlterField(
model_name="search",
name="name",
field=models.CharField(
help_text="The name for this object (space-like characters will be automatically replaced by dashes)",
max_length=200,
),
),
migrations.AlterField(
model_name="search",
name="settings",
field=models.TextField(blank=True, default=""),
),
migrations.AlterField(
model_name="search",
name="sharing",
field=models.CharField(
choices=[
("P", "Private"),
("S", "Shared"),
("A", "Public"),
("U", "Usable"),
],
default="P",
max_length=1,
),
),
migrations.AlterField(
model_name="search",
name="short_description",
field=models.CharField(
blank=True,
default="",
help_text="Describe the object succinctly (try to keep it under 80 characters)",
max_length=100,
),
),
migrations.AlterField(
model_name="search",
name="version",
field=models.PositiveIntegerField(
default=1,
help_text="The version of this object (an integer starting from 1)",
),
),
]
# Generated by Django 3.1.3 on 2020-11-13 09:54
from django.db import migrations
from django.db import models
class Migration(migrations.Migration):
dependencies = [
("team", "0001_initial"),
]
operations = [
migrations.AlterField(
model_name="team",
name="short_description",
field=models.TextField(blank=True, default="", max_length=100),
),
]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment