mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-18 10:29:23 +02:00
Revert "dummy migration ( will revert commit )"
This reverts commit ffb8311fd0
.
This commit is contained in:
parent
ffb8311fd0
commit
d90810c844
2 changed files with 1 additions and 41 deletions
|
@ -1,40 +0,0 @@
|
||||||
# Generated by Django 4.2.10 on 2024-10-09 15:21
|
|
||||||
|
|
||||||
import django.contrib.postgres.fields
|
|
||||||
from django.db import migrations, models
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
("registrar", "0132_alter_domaininformation_portfolio_and_more"),
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.AlterField(
|
|
||||||
model_name="portfolioinvitation",
|
|
||||||
name="portfolio_roles",
|
|
||||||
field=django.contrib.postgres.fields.ArrayField(
|
|
||||||
base_field=models.CharField(
|
|
||||||
choices=[("organization_admin", "Admin"), ("organization_member", "Members")], max_length=50
|
|
||||||
),
|
|
||||||
blank=True,
|
|
||||||
help_text="Select one or more roles.",
|
|
||||||
null=True,
|
|
||||||
size=None,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
migrations.AlterField(
|
|
||||||
model_name="userportfoliopermission",
|
|
||||||
name="roles",
|
|
||||||
field=django.contrib.postgres.fields.ArrayField(
|
|
||||||
base_field=models.CharField(
|
|
||||||
choices=[("organization_admin", "Admin"), ("organization_member", "Members")], max_length=50
|
|
||||||
),
|
|
||||||
blank=True,
|
|
||||||
help_text="Select one or more roles.",
|
|
||||||
null=True,
|
|
||||||
size=None,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
]
|
|
|
@ -7,7 +7,7 @@ class UserPortfolioRoleChoices(models.TextChoices):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
ORGANIZATION_ADMIN = "organization_admin", "Admin"
|
ORGANIZATION_ADMIN = "organization_admin", "Admin"
|
||||||
ORGANIZATION_MEMBER = "organization_member", "Members"
|
ORGANIZATION_MEMBER = "organization_member", "Member"
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_user_portfolio_role_label(cls, user_portfolio_role):
|
def get_user_portfolio_role_label(cls, user_portfolio_role):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue