Database tables
How TAS stores your databases and their rows in PostgreSQL.
Esta página aún no está traducida. Estás leyendo el original.
TAS creates its tables on the first start.
The tables of TAS
| Table | Content |
|---|---|
cl_config | Shared addresses. See Stored settings. |
tbl_app | One row for every TAS app that uses the database. |
tbl_db | Your databases and their columns. |
tbl_flow | Your flows. |
tbl_ui | Your pages. |
tbl_template | The page templates. |
tbl_nav | Your navigation items. |
tbl_view | The data views and their addresses. |
tbl_file | The uploaded files. |
Every row of these tables has an appid column with the identifier of the app it belongs to.
The tables of your databases
The rows of your databases are in the db schema. The name of each table is db, the identifier of the app and the identifier of the database:
db.db539792Here 539 is the identifier of the app and 792 the identifier of the database. The flow designer shows this name on every database component.
Every table has the columns id, name and dtcreated (the creation time), and one column for every custom column.
Column types
| Type in TAS | Type in PostgreSQL |
|---|---|
| String | TEXT |
| Number | NUMERIC |
| Boolean | BOOLEAN |
| Date | TIMESTAMP |
Reserved column names
These words cannot be column names: id, name, dtcreated, table, on, where, left, join, right, inner, null, number, text, boolean, object, over, primary, index, temp, switch, case and json.
Column names keep only the lower-case letters a to z and the digits 0 to 9.