-
Notifications
You must be signed in to change notification settings - Fork 415
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow feature value size to be configured per installation (#4446)
Co-authored-by: Matthew Elwell <[email protected]>
- Loading branch information
1 parent
bc77fb0
commit c28f6f1
Showing
5 changed files
with
68 additions
and
2 deletions.
There are no files selected for viewing
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
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
33 changes: 33 additions & 0 deletions
33
api/features/migrations/0065_make_feature_value_size_configurable.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,33 @@ | ||
# Generated by Django 3.2.25 on 2024-08-01 21:09 | ||
from django.conf import settings | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('features', '0064_fix_feature_help_text_typo'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='feature', | ||
name='initial_value', | ||
field=models.CharField(blank=True, max_length=settings.FEATURE_VALUE_LIMIT, null=True, default=None), | ||
), | ||
migrations.AlterField( | ||
model_name='historicalfeature', | ||
name='initial_value', | ||
field=models.CharField(blank=True, max_length=settings.FEATURE_VALUE_LIMIT, null=True, default=None), | ||
), | ||
migrations.AlterField( | ||
model_name='featurestatevalue', | ||
name='string_value', | ||
field=models.CharField(blank=True, max_length=settings.FEATURE_VALUE_LIMIT, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='historicalfeaturestatevalue', | ||
name='string_value', | ||
field=models.CharField(blank=True, max_length=settings.FEATURE_VALUE_LIMIT, 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
23 changes: 23 additions & 0 deletions
23
api/features/multivariate/migrations/0008_make_feature_value_size_configurable.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,23 @@ | ||
# Generated by Django 3.2.25 on 2024-08-01 21:09 | ||
from django.conf import settings | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('multivariate', '0007_alter_boolean_values'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='historicalmultivariatefeatureoption', | ||
name='string_value', | ||
field=models.CharField(blank=True, max_length=settings.FEATURE_VALUE_LIMIT, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='multivariatefeatureoption', | ||
name='string_value', | ||
field=models.CharField(blank=True, max_length=settings.FEATURE_VALUE_LIMIT, null=True), | ||
), | ||
] |