dotGems / gems.blend

.gems blend
GNU General Public License v3.0
0 stars 1 forks source link

Update new schema for blend v2.0 #6

Closed DenisCarriere closed 3 years ago

DenisCarriere commented 3 years ago

Goals

Changes

Tables

TABLE blends

param index_position key_type
bycollection 2 i64

params

example

{
    "id": {"collection_name": "mycollection", "template_id": 21883},
    "recipe_ids": [1, 2],
    "description": "My Blend",
    "start_time": "2021-07-01T00:00:00",
    "end_time": "2021-10-01T00:00:00"
}

TABLE recipes

params

example

{
    "id": 1,
    "templates": [{"collection_name": "mycollection", "template_id": 21883}]
}

TABLE status

example

{
    "counters": [10, 1234, 300],
    "last_updated": "2021-04-12T12:23:42"
}