Skip to content

Commit 2984603

Browse files
committed
Add two new event programmes
1 parent b7c4906 commit 2984603

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
from pathlib import PurePath
2+
from django.db import migrations
3+
4+
from datahub.core.migration_utils import load_yaml_data_in_migration
5+
6+
7+
def update_event_programmes(apps, schema_editor):
8+
load_yaml_data_in_migration(
9+
apps, PurePath(__file__).parent / "0031_update_event_programme.yaml"
10+
)
11+
12+
13+
class Migration(migrations.Migration):
14+
dependencies = [
15+
('event', '0030_add_stova_event_relation'),
16+
]
17+
18+
operations = [
19+
migrations.RunPython(update_event_programmes, migrations.RunPython.noop),
20+
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
- model: event.programme
2+
pk: 819e049e-d28e-4f55-be97-37ee88023d88
3+
fields: { disabled_on: null, name: Export Summit Flagship 2025 }
4+
- model: event.programme
5+
pk: 9570faa5-9bb9-4f03-b09c-0b496aa77313
6+
fields: { disabled_on: null, name: Export Summit Roadshows 2025 }

0 commit comments

Comments
 (0)