Database – Flag Entity (flag_entity)
Description
Holds information for entity flags. Active flags are evaluated automatically and are set to true if the associated Clojure rule returns a truthy value when passed an entity. Otherwise, the flag is marked to false.
Column | Data Type | Column Info | Value Notes | Other |
id | int(11) | The id of the entity | ||
name | varchar(100) | Entity name | ||
description | text | The description of the entity instance | ||
rule | text | Associated Clojure Rule used in entity evaluation | ||
draft | text | flag draft | ||
display | varchar(100) | flag display collection | flag.display.* | |
state | tinyint(1) | Current flag state | geo.state.*; geo.province.* | |
ui_state | text | flag ui state | ||
entity_type | varchar(100) | Type of the associated entity | ||
active | tinyint(1) | Whether or not the entity is active | 1 - yes, 0 - no | |
deleted | tinyint(1) | Whether or not the entity was deleted | 1 - yes, 0 - no | |
created | timestamp | Timestamp of when the entity was created | ||
lastUpdated | timestamp | Timestamp of when the entity was last updated |