-
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.
adding a field to set when a feature are ready to go for production
- Loading branch information
Jackson Barbosa
committed
Oct 4, 2024
1 parent
67b0bd8
commit 61789b0
Showing
4 changed files
with
82 additions
and
3 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
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
55 changes: 55 additions & 0 deletions
55
retail/features/migrations/0014_feature_status_alter_featureversion_action_types.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,55 @@ | ||
# Generated by Django 5.1.1 on 2024-10-04 20:31 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("features", "0013_featureversion_action_base_flow_name_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="feature", | ||
name="status", | ||
field=models.CharField( | ||
blank=True, | ||
choices=[ | ||
("development", "Development"), | ||
("testing", "Testing"), | ||
("ready", "Ready"), | ||
], | ||
default="development", | ||
max_length=20, | ||
null=True, | ||
verbose_name="Status of feature", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="featureversion", | ||
name="action_types", | ||
field=models.TextField( | ||
blank=True, | ||
choices=[ | ||
("PERSONALIZADO", "Personalizado"), | ||
("VOLTAR AO MENU", "Voltar ao Menu"), | ||
("INTERAÇÕES GERAIS", "Interações gerais"), | ||
("CONFIGURAR COMUNICAÇÕES", "Configurar comunicações"), | ||
("DESPEDIDA", "Despedida"), | ||
("SAC/FALE CONOSCO", "SAC/Fale conosco"), | ||
("INDIQUE E GANHE", "Indique e Ganhe"), | ||
("TROCA E DEVOLUÇÃO", "Troca e Devolução"), | ||
("STATUS DO PEDIDO", "Status do Pedido"), | ||
("CUMPRIMENTOS", "Cumprimentos"), | ||
("COMPRAS DE PRODUTOS", "Compras de Produtos"), | ||
("TÓPICOS SENSÍVEIS", "Tópicos sensíveis"), | ||
("MÍDIAS E LOCALIZAÇÃO", "Mídias e Localização"), | ||
("ENVIO DE CARRINHO DO WHATSAPP", "Envio de Carrinho do Whatsapp"), | ||
("CONTROLE DO AGENTE", "Controle do agente"), | ||
], | ||
default="PERSONALIZADO", | ||
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