-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #474 from AlexsLemonade/dev
Production Deploy
- Loading branch information
Showing
28 changed files
with
631 additions
and
217 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# For more information on CODEOWNERS, see: | ||
# https://help.github.com/en/articles/about-code-owners | ||
|
||
* @arkid15r @davidsmejia | ||
/client/ @davidsmejia @nozomione |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Generated by Django 3.2.22 on 2023-10-30 22:59 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("scpca_portal", "0029_auto_20221217_0256"), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name="ExternalAccession", | ||
fields=[ | ||
("created_at", models.DateTimeField(auto_now_add=True)), | ||
("updated_at", models.DateTimeField(auto_now=True)), | ||
("accession", models.TextField(primary_key=True, serialize=False)), | ||
("has_raw", models.BooleanField(default=False)), | ||
("url", models.TextField()), | ||
], | ||
options={ | ||
"db_table": "external_accessions", | ||
}, | ||
), | ||
migrations.AddField( | ||
model_name="project", | ||
name="external_accessions", | ||
field=models.ManyToManyField(to="scpca_portal.ExternalAccession"), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
from django.db import models | ||
|
||
from scpca_portal.models.base import TimestampedModel | ||
|
||
|
||
class ExternalAccession(TimestampedModel): | ||
"""External accession.""" | ||
|
||
class Meta: | ||
db_table = "external_accessions" | ||
|
||
accession = models.TextField(primary_key=True) | ||
has_raw = models.BooleanField(default=False) | ||
url = models.TextField() | ||
|
||
def __str__(self) -> str: | ||
return self.accession |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.