mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-12-26 17:32:22 +00:00
21 lines
551 B
Python
21 lines
551 B
Python
from django.db import migrations
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('member', '0003_create_bde_and_kfet'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.RunSQL(
|
|
"UPDATE member_profile SET address = '' WHERE address IS NULL;",
|
|
),
|
|
migrations.RunSQL(
|
|
"UPDATE member_profile SET ml_events_registration = '' WHERE ml_events_registration IS NULL;",
|
|
),
|
|
migrations.RunSQL(
|
|
"UPDATE member_profile SET section = '' WHERE section IS NULL;",
|
|
),
|
|
]
|