-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Criar tracker.models.Hello * Cria tracker.wagtail_hooks.HelloModelAdmin * Cria a tarefa para registrar hello * Adiciona user_id porque obrigatoriamente todas as tarefas recebem este parâmetro * Adiciona a migração do modelo Hello * Adiciona uma migração de journal (merged)
- Loading branch information
1 parent
49f8255
commit 426a237
Showing
5 changed files
with
200 additions
and
111 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,12 @@ | ||
# Generated by Django 4.2.7 on 2024-02-07 18:16 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("journal", "0015_alter_journalsocialnetwork_name_and_more"), | ||
("journal", "0015_alter_subjectdescriptor_value"), | ||
] | ||
|
||
operations = [] |
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,58 @@ | ||
# Generated by Django 4.2.7 on 2024-02-07 18:17 | ||
|
||
from django.db import migrations, models | ||
import uuid | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("tracker", "0001_initial"), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name="Hello", | ||
fields=[ | ||
( | ||
"id", | ||
models.UUIDField( | ||
default=uuid.uuid4, | ||
editable=False, | ||
primary_key=True, | ||
serialize=False, | ||
), | ||
), | ||
("status", models.BooleanField(blank=True, default=None, null=True)), | ||
( | ||
"created", | ||
models.DateTimeField( | ||
auto_now_add=True, verbose_name="Creation date" | ||
), | ||
), | ||
( | ||
"exception_type", | ||
models.TextField( | ||
blank=True, null=True, verbose_name="Exception Type" | ||
), | ||
), | ||
( | ||
"exception_msg", | ||
models.TextField( | ||
blank=True, null=True, verbose_name="Exception Msg" | ||
), | ||
), | ||
("traceback", models.JSONField(blank=True, null=True)), | ||
("detail", models.JSONField(blank=True, null=True)), | ||
], | ||
options={ | ||
"indexes": [ | ||
models.Index( | ||
fields=["status"], name="tracker_hel_status_cfcbfa_idx" | ||
), | ||
models.Index( | ||
fields=["exception_type"], name="tracker_hel_excepti_a64469_idx" | ||
), | ||
], | ||
}, | ||
), | ||
] |
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