forked from City-of-Helsinki/smbackend
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #296 from City-of-Turku/feature/unit-connections-n…
…ew-types-and-tag-field Feature/unit connections new types and tag field
- Loading branch information
Showing
6 changed files
with
165 additions
and
1 deletion.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
services/migrations/0096_alter_unitconnection_section_type.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,32 @@ | ||
# Generated by Django 4.1.7 on 2023-07-21 07:02 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("services", "0095_exclusionrule"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="unitconnection", | ||
name="section_type", | ||
field=models.PositiveSmallIntegerField( | ||
choices=[ | ||
(1, "PHONE_OR_EMAIL"), | ||
(2, "LINK"), | ||
(3, "TOPICAL"), | ||
(4, "OTHER_INFO"), | ||
(5, "OPENING_HOURS"), | ||
(6, "SOCIAL_MEDIA_LINK"), | ||
(7, "OTHER_ADDRESS"), | ||
(8, "HIGHLIGHT"), | ||
(9, "ESERVICE_LINK"), | ||
(10, "PRICE"), | ||
], | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Generated by Django 4.1.7 on 2023-07-21 07:07 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("services", "0096_alter_unitconnection_section_type"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="unitconnection", | ||
name="name", | ||
field=models.CharField(max_length=2100), | ||
), | ||
migrations.AlterField( | ||
model_name="unitconnection", | ||
name="name_en", | ||
field=models.CharField(max_length=2100, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name="unitconnection", | ||
name="name_fi", | ||
field=models.CharField(max_length=2100, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name="unitconnection", | ||
name="name_sv", | ||
field=models.CharField(max_length=2100, null=True), | ||
), | ||
] |
33 changes: 33 additions & 0 deletions
33
services/migrations/0098_alter_unitconnection_section_type.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,33 @@ | ||
# Generated by Django 4.1.7 on 2023-07-21 07:09 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("services", "0097_update_unitconnection_names"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="unitconnection", | ||
name="section_type", | ||
field=models.PositiveSmallIntegerField( | ||
choices=[ | ||
(1, "PHONE_OR_EMAIL"), | ||
(2, "LINK"), | ||
(3, "TOPICAL"), | ||
(4, "OTHER_INFO"), | ||
(5, "OPENING_HOURS"), | ||
(6, "SOCIAL_MEDIA_LINK"), | ||
(7, "OTHER_ADDRESS"), | ||
(8, "HIGHLIGHT"), | ||
(9, "ESERVICE_LINK"), | ||
(10, "PRICE"), | ||
(11, "SUBGROUP"), | ||
], | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Generated by Django 4.1.7 on 2023-07-21 07:13 | ||
|
||
import django.contrib.postgres.fields | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("services", "0098_alter_unitconnection_section_type"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="unitconnection", | ||
name="tags", | ||
field=django.contrib.postgres.fields.ArrayField( | ||
base_field=models.CharField(max_length=200), | ||
default=list, | ||
null=True, | ||
size=None, | ||
), | ||
), | ||
] |
34 changes: 34 additions & 0 deletions
34
services/migrations/0100_alter_unitconnection_section_type.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,34 @@ | ||
# Generated by Django 4.1.7 on 2023-07-21 07:18 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("services", "0099_unitconnection_tags"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="unitconnection", | ||
name="section_type", | ||
field=models.PositiveSmallIntegerField( | ||
choices=[ | ||
(1, "PHONE_OR_EMAIL"), | ||
(2, "LINK"), | ||
(3, "TOPICAL"), | ||
(4, "OTHER_INFO"), | ||
(5, "OPENING_HOURS"), | ||
(6, "SOCIAL_MEDIA_LINK"), | ||
(7, "OTHER_ADDRESS"), | ||
(8, "HIGHLIGHT"), | ||
(9, "ESERVICE_LINK"), | ||
(10, "PRICE"), | ||
(11, "SUBGROUP"), | ||
(12, "OPENING_HOUR_OBJECT"), | ||
], | ||
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