Configuration
The keys of the config file of Total.js Tables.
On this page
Tables reads its settings from the file config in the folder of the app. Each line is a key, a colon and a value. Lines that start with // are comments. Restart Tables after you change the file.
name : Tables
url : https://tables.yourdomain.com
database : postgresql://tables:password@localhost:5432/tables
schema : public
auditlogs : falseKeys
| Key | Default | What it does |
|---|---|---|
database | The PostgreSQL connection string: postgresql://user:password@host:port/database. Required. | |
schema | public | The PostgreSQL schema where Tables keeps its tables. If it does not exist, Tables creates it at the start. |
url | The public address of the app, for example https://tables.yourdomain.com. | |
name | Tables | The name of the app, shown in the top left corner and on the sign-in page. |
icon | ti ti-database-alt | The icon of the app, a Total.js icon class. |
auditlogs | false | true writes every change to the audit log. See Audit log. |
$api | /api/ | The address of the API. Keep the default. |
cdn | /cdn | Where the browser loads the user interface libraries from. Keep the default. |