HelloDB
#
IntroductionThe HelloDB files are Sqlite 3 *.sqlite
files. This approach makes each template file portable. The main difference is the specific hellodb
table that brings configuration and translations for the database. The types of entities, fields and create/edit forms in the Studio will be directly calculted from the tables structure.
#
Configuration tableThe structure of the hellodb
table is a classic key/value one:
CREATE TABLE "hellodb" ("key" varchar, "value" text);
3 rows are required in the configuration table:
Key | Usage |
---|---|
config | A YAML definition for the HelloDB tables and fields (see the entities and fields configuration) |
bundle | A YAML that defines the translations for the bundle name |
icon | A SVG code to display an icon for the bundle |