mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-22 08:07:26 +00:00
✨(backend) add a flexible JSON field to store recording options
Using a JSON field allows iterating on recording data without running a new migration each time additional options or metadata need to be tracked. This comes with trade-offs, notably weaker data validation and less clarity on which data can be stored alongside a recording. In the long run, this JSON field can be refactored into dedicated columns once the feature and data model have stabilized.
This commit is contained in:
committed by
aleb_the_flash
parent
b19ac7f82b
commit
0d8c76cd03
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 5.2.9 on 2025-12-29 15:30
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('core', '0015_application_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='recording',
|
||||
name='options',
|
||||
field=models.JSONField(blank=True, default=dict, help_text='Recording options', verbose_name='Recording options'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user