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.
Add new connection type: OPENING_HOUR_OBJECT
- Loading branch information
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
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