-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add nullable field description to analytics table
- Loading branch information
PonyM
committed
Jan 31, 2023
1 parent
f8b5a3d
commit eccd4f0
Showing
6 changed files
with
57 additions
and
7 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
28 changes: 28 additions & 0 deletions
28
caluma/caluma_analytics/migrations/0007_add_analytics_description_field.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,28 @@ | ||
# Generated by Django 3.2.16 on 2023-01-31 09:25 | ||
|
||
from django.db import migrations | ||
import localized_fields.fields.field | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("caluma_analytics", "0006_rename_form_slug_fields"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="analyticstable", | ||
name="description", | ||
field=localized_fields.fields.field.LocalizedField( | ||
blank=True, null=True, required=[] | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="historicalanalyticstable", | ||
name="description", | ||
field=localized_fields.fields.field.LocalizedField( | ||
blank=True, null=True, required=[] | ||
), | ||
), | ||
] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -160,6 +160,7 @@ class Meta: | |
"result_data", | ||
"fields", | ||
"name", | ||
"description", | ||
"starting_object", | ||
] | ||
|
||
|
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