Change the measure model: less pre-determined, more configurable.

This commit is contained in:
2019-03-10 15:59:02 -05:00
parent b629ec1a14
commit 4965d162ad
8 changed files with 43 additions and 44 deletions

View File

@ -26,11 +26,6 @@ create table "measures" (
name varchar not null,
description varchar not null default '',
config jsonb not null default '{}'::json,
domain_source varchar default null,
domain_units varchar not null default '',
range_source varchar default null,
range_units varchar not null default '',
analysis varchar[] not null default '{}',
unique(user_id, slug)
);