Skip to content

Commit

Permalink
update migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
claire-peters committed Dec 11, 2023
1 parent a9db218 commit ca797e8
Show file tree
Hide file tree
Showing 6 changed files with 211 additions and 182 deletions.
96 changes: 96 additions & 0 deletions coldfront/core/allocation/migrations/0014_auto_20231004_1242.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
# Generated by Django 3.2.17 on 2023-10-04 16:42

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('allocation', '0013_allocationaccount'),
]

operations = [
migrations.AlterModelOptions(
name='allocation',
options={'ordering': ['project'], 'permissions': (('can_view_all_allocations', 'Can view all allocations'), ('can_review_allocation_requests', 'Can review allocation requests'), ('can_manage_invoice', 'Can manage invoice'))},
),
migrations.AlterModelOptions(
name='historicalallocation',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical allocation', 'verbose_name_plural': 'historical allocations'},
),
migrations.AlterModelOptions(
name='historicalallocationattribute',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical allocation attribute', 'verbose_name_plural': 'historical allocation attributes'},
),
migrations.AlterModelOptions(
name='historicalallocationattributechangerequest',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical allocation attribute change request', 'verbose_name_plural': 'historical allocation attribute change requests'},
),
migrations.AlterModelOptions(
name='historicalallocationattributetype',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical allocation attribute type', 'verbose_name_plural': 'historical allocation attribute types'},
),
migrations.AlterModelOptions(
name='historicalallocationattributeusage',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical allocation attribute usage', 'verbose_name_plural': 'historical allocation attribute usages'},
),
migrations.AlterModelOptions(
name='historicalallocationchangerequest',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical allocation change request', 'verbose_name_plural': 'historical allocation change requests'},
),
migrations.AlterModelOptions(
name='historicalallocationuser',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical allocation user', 'verbose_name_plural': 'historical Allocation User Status'},
),
migrations.RemoveField(
model_name='allocationuser',
name='allocation_group_quota',
),
migrations.RemoveField(
model_name='allocationuser',
name='allocation_group_usage_bytes',
),
migrations.RemoveField(
model_name='historicalallocationuser',
name='allocation_group_quota',
),
migrations.RemoveField(
model_name='historicalallocationuser',
name='allocation_group_usage_bytes',
),
migrations.AlterField(
model_name='historicalallocation',
name='history_date',
field=models.DateTimeField(db_index=True),
),
migrations.AlterField(
model_name='historicalallocationattribute',
name='history_date',
field=models.DateTimeField(db_index=True),
),
migrations.AlterField(
model_name='historicalallocationattributechangerequest',
name='history_date',
field=models.DateTimeField(db_index=True),
),
migrations.AlterField(
model_name='historicalallocationattributetype',
name='history_date',
field=models.DateTimeField(db_index=True),
),
migrations.AlterField(
model_name='historicalallocationattributeusage',
name='history_date',
field=models.DateTimeField(db_index=True),
),
migrations.AlterField(
model_name='historicalallocationchangerequest',
name='history_date',
field=models.DateTimeField(db_index=True),
),
migrations.AlterField(
model_name='historicalallocationuser',
name='history_date',
field=models.DateTimeField(db_index=True),
),
]
182 changes: 0 additions & 182 deletions coldfront/core/allocation/migrations/0014_auto_20231117_1954.py

This file was deleted.

22 changes: 22 additions & 0 deletions coldfront/core/grant/migrations/0003_auto_20231004_1242.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Generated by Django 3.2.17 on 2023-10-04 16:42

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('grant', '0002_auto_20230406_1310'),
]

operations = [
migrations.AlterModelOptions(
name='historicalgrant',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical grant', 'verbose_name_plural': 'historical Grants'},
),
migrations.AlterField(
model_name='historicalgrant',
name='history_date',
field=models.DateTimeField(db_index=True),
),
]
22 changes: 22 additions & 0 deletions coldfront/core/publication/migrations/0005_auto_20231004_1242.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Generated by Django 3.2.17 on 2023-10-04 16:42

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('publication', '0004_add_manual_publication_source'),
]

operations = [
migrations.AlterModelOptions(
name='historicalpublication',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical publication', 'verbose_name_plural': 'historical publications'},
),
migrations.AlterField(
model_name='historicalpublication',
name='history_date',
field=models.DateTimeField(db_index=True),
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Generated by Django 3.2.17 on 2023-12-11 22:32

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('research_output', '0001_initial'),
]

operations = [
migrations.AlterModelOptions(
name='historicalresearchoutput',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical research output', 'verbose_name_plural': 'historical research outputs'},
),
migrations.AlterField(
model_name='historicalresearchoutput',
name='history_date',
field=models.DateTimeField(db_index=True),
),
]
Loading

0 comments on commit ca797e8

Please sign in to comment.