-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: site tag handling (issue 1277)
Adds tagging between siteobservation and other objects.
- Loading branch information
Showing
7 changed files
with
302 additions
and
23 deletions.
There are no files selected for viewing
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,39 @@ | ||
# Generated by Django 3.2.23 on 2024-02-02 10:30 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
('viewer', '0037_rename_event_map_info_experiment_map_info'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='historicalsiteobservation', | ||
name='longcode', | ||
field=models.TextField(null=True), | ||
), | ||
migrations.AddField( | ||
model_name='siteobservation', | ||
name='longcode', | ||
field=models.TextField(null=True), | ||
), | ||
migrations.AddField( | ||
model_name='xtalformsite', | ||
name='xtalform_site_num', | ||
field=models.IntegerField( | ||
help_text='numeric xtalform site id (enumerated on creation)', null=True | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name='historicalsiteobservation', | ||
name='code', | ||
field=models.TextField(null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='siteobservation', | ||
name='code', | ||
field=models.TextField(null=True), | ||
), | ||
] |
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,19 @@ | ||
# Generated by Django 3.2.23 on 2024-02-02 11:35 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
('viewer', '0038_auto_20240202_1030'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='canonsite', | ||
name='canon_site_num', | ||
field=models.IntegerField( | ||
help_text='numeric canon site id (enumerated on creation)', null=True | ||
), | ||
), | ||
] |
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,19 @@ | ||
# Generated by Django 3.2.23 on 2024-02-02 11:47 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
('viewer', '0039_canonsite_canon_site_num'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='quatassembly', | ||
name='assembly_num', | ||
field=models.IntegerField( | ||
help_text='numeric assembly id (enumerated on creation)', null=True | ||
), | ||
), | ||
] |
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,19 @@ | ||
# Generated by Django 3.2.23 on 2024-02-05 11:27 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
('viewer', '0040_quatassembly_assembly_num'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='xtalform', | ||
name='xtalform_num', | ||
field=models.IntegerField( | ||
help_text='numeric xtalform id (enumerated on creation)', null=True | ||
), | ||
), | ||
] |
20 changes: 20 additions & 0 deletions
20
viewer/migrations/0042_alter_xtalformsite_xtalform_site_num.py
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,20 @@ | ||
# Generated by Django 3.2.23 on 2024-02-05 12:02 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
('viewer', '0041_xtalform_xtalform_num'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='xtalformsite', | ||
name='xtalform_site_num', | ||
field=models.TextField( | ||
help_text='alphabetic xtalform site id (enumerated on creation)', | ||
null=True, | ||
), | ||
), | ||
] |
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.