umap/umap/migrations/0012_datalayer_settings.py
Yohan Boniface fa090b89df Store DataLayer's settings in DB
This allows to known the full datalayer behaviour without needing
to load all the data, including the zoom from and to (new settings),
but also the color for example.

This will help also understanding datalayers usage and making
stats.

But no data migration is provided, it's retrocompatible (data
migration in OSM FR servers would be huge, so let's see if it's
really needed).
2023-08-20 09:48:01 +02:00

19 lines
488 B
Python

# Generated by Django 4.2.2 on 2023-08-16 05:24
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("umap", "0011_alter_map_edit_status_alter_map_share_status"),
]
operations = [
migrations.AddField(
model_name="datalayer",
name="settings",
field=models.JSONField(
blank=True, default=dict, null=True, verbose_name="settings"
),
),
]