Skip to content
Snippets Groups Projects
Commit 9fd208f0 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Add data migration

parent 8cf626cb
No related branches found
No related tags found
1 merge request!42Set price correct for event registration
Pipeline #130685 failed
# Generated by Django 3.2.19 on 2023-06-04 14:54
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('paweljong', '0023_eventregistration_cost'),
]
operations = [
migrations.RunSQL("UPDATE paweljong_eventregistration SET cost = (SELECT paweljong_event.cost FROM paweljong_event WHERE paweljong_event.id = paweljong_eventregistration.event_id);")
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment