Database structure
How Tables stores your tables in PostgreSQL, for reports and other tools.
Esta página aún no está traducida. Estás leyendo el original.
En esta página
Every table you design is a real PostgreSQL table, so reporting tools and other applications can read your data directly. All the tables are in the schema set by schema in the configuration.
Your tables
Each table is stored in a PostgreSQL table named with its ID, for example t118h7. Its columns are:
| Column | Content |
|---|---|
id | The ID of the record. |
name | The Name column. |
x01, x02, ... | Your columns, named with their IDs. |
rev | The revision number, raised on every change. |
permissions | The visibility of the record. |
createdby, dtcreated | Who created the record and when (UTC). |
updatedby, dtupdated | Who changed it last and when (UTC). |
parentid, copyid, cloneid | Internal links between records. |
For each table, Tables also creates a view named v + the ID, for example vt118h7. The view adds the names of linked records and the calculated columns. For reports, read the view:
SELECT name, x02 AS customer, x04 AS amount
FROM vt118h7
WHERE x05 = 'new'
ORDER BY dtcreated DESC;System tables
| Table | Content |
|---|---|
tbl_table | The settings and columns of each table. |
tbl_view | The saved views. |
tbl_backup | The versions of records. |
tbl_removed | The removed records of tables that keep them. |
tbl_log | The audit log. |
tbl_token | The API tokens. |
tbl_serial | The counters of Auto increment columns. |
tbl_file | The uploaded files. |
tbl_config | Internal settings. |
Change data safely
Read freely, but change the structure of these tables only in Tables, never with SQL. Tables creates and changes the PostgreSQL tables and views from the settings of your tables.