-
Notifications
You must be signed in to change notification settings - Fork 1
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 #224 from ImperialCollegeLondon/mandatory-names
Mandatory names
- Loading branch information
Showing
11 changed files
with
226 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
33 changes: 33 additions & 0 deletions
33
battDB/migrations/0032_alter_devicespecification_name_alter_equipment_name_and_more.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,33 @@ | ||
# Generated by Django 4.1.3 on 2022-11-29 15:52 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('battDB', '0031_experimentdatafile_binary_file_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='devicespecification', | ||
name='name', | ||
field=models.CharField(default='', max_length=128, unique=True), | ||
), | ||
migrations.AlterField( | ||
model_name='equipment', | ||
name='name', | ||
field=models.CharField(default='', max_length=128, unique=True), | ||
), | ||
migrations.AlterField( | ||
model_name='experiment', | ||
name='name', | ||
field=models.CharField(default='', max_length=128), | ||
), | ||
migrations.AlterField( | ||
model_name='parser', | ||
name='name', | ||
field=models.CharField(default='', max_length=128, unique=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
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
34 changes: 34 additions & 0 deletions
34
dfndb/migrations/0016_alter_compound_unique_together_alter_component_name_and_more.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,34 @@ | ||
# Generated by Django 4.1.3 on 2022-11-29 11:28 | ||
|
||
from django.db import migrations, models | ||
|
||
import dfndb.validators | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('dfndb', '0015_remove_compound_mass_alter_compound_formula'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterUniqueTogether( | ||
name='compound', | ||
unique_together=set(), | ||
), | ||
migrations.AlterField( | ||
model_name='component', | ||
name='name', | ||
field=models.CharField(default='', max_length=128, unique=True), | ||
), | ||
migrations.AlterField( | ||
model_name='compound', | ||
name='formula', | ||
field=models.CharField(help_text='Chemical formula', max_length=20, unique=True, validators=[dfndb.validators.validate_formula]), | ||
), | ||
migrations.AlterField( | ||
model_name='compound', | ||
name='name', | ||
field=models.CharField(help_text='Full name for the element or compound.', max_length=100, unique=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
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
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