Skip to content

Commit 4e0ed1c

Browse files
sjasti-sonata-svgiloveagent57
authored andcommitted
feat: add migration for enable_academies default value change (ENT-11220)
Follow-up to #2594. The model default for enable_academies was changed from False to True in that PR, but no corresponding migration was generated. This adds the AlterField migration that Django's makemigrations produces for that change.
1 parent 7704577 commit 4e0ed1c

3 files changed

Lines changed: 34 additions & 1 deletion

File tree

CHANGELOG.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ Unreleased
1717
----------
1818
* nothing unreleased
1919

20+
[7.0.3] - 2026-04-15
21+
---------------------
22+
* feat: add migration for enable_academies default value change (ENT-11220)
23+
2024
[7.0.2] - 2026-04-14
2125
---------------------
2226
* feat: enable academies by default for customers (ENT-11220)

enterprise/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
Your project description goes here.
33
"""
44

5-
__version__ = "7.0.2"
5+
__version__ = "7.0.3"
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
from django.db import migrations, models
2+
3+
4+
class Migration(migrations.Migration):
5+
6+
dependencies = [
7+
("enterprise", "0244_enable_academies_for_existing_customers"),
8+
]
9+
10+
operations = [
11+
migrations.AlterField(
12+
model_name='enterprisecustomer',
13+
name='enable_academies',
14+
field=models.BooleanField(
15+
default=True,
16+
help_text='If checked, the learners will be able to see the academies on the learner portal dashboard.',
17+
verbose_name='Display academies screen',
18+
),
19+
),
20+
migrations.AlterField(
21+
model_name='historicalenterprisecustomer',
22+
name='enable_academies',
23+
field=models.BooleanField(
24+
default=True,
25+
help_text='If checked, the learners will be able to see the academies on the learner portal dashboard.',
26+
verbose_name='Display academies screen',
27+
),
28+
),
29+
]

0 commit comments

Comments
 (0)