Table descriptions

config - the central table that stores all the configuration details on the system

  • libs: lib_config.inc, handler_db.inc, lib_locale/lib_locale.inc, lib_location.inc, lib_security/acl_api.inc
  • mods: admin
  • This table is also used to override the (sys)conf file settings
  • API: inc/lib_config.inc

shn_config_database_fetch() - to get the configuration details into the global $conf

shn_config_database_update() - to update the database with a configuration value

field_options

  • libs: lib_form.inc, lib_location.inc, lib_validate.inc, reporting/lib_chart.inc, reporting/lib_reporting.inc
  • mods: admin
  • A meta-data table to store in one place all the possible options for a particular field
  • all field names prefixed with opt_ uses this table to get its values
  • API: inc/lib_form.inc
shn_form_opt_select() - to retrieve automatically as a select box the values in opt_field relevant for the form

sync_instance

  • This table is used to store information related to synchronization.
  • It will keep information about other Sahana instances like their “instance id” and owner details.
  • Also it will keep the number of times synchronization happened and the last update times.
  • It is used by the synchronization module.

Deprecated

Scheduled for removal in 0.5 release: configlist


Navigation
QR Code
QR Code sql:config (generated for current page)