---
title: Databases
project: TAS
version: 10.0
section: guides
language: en
license: Total.js Enterprise
url: https://totaljs.es/docs/tas/10-0/guides/databases/
updated: 2026-11-20T06:40:14.934Z
---

# Databases

> Create, change, clone and remove the databases of your app.

In TAS, a database is one table with your own columns. TAS creates the table in PostgreSQL for you and keeps it in step with the columns you define.

![The Databases list with two databases in the Sales category](/files/Jaswvj2W861f.webp)

Each database shows its identifier, for example `db792`. Databases with the same **Category** are listed together.

## Create a database

**1.** Open **Databases** and select **Create**.

**2.** Enter the **Name**. Optionally choose a **Category**, an **Icon** and a **Color**.

**3.** Under **Custom columns**, select **Add** for each column and fill in:
   - **Path**: the column name in the database, in lower case
   - **Type**: **String**, **Number**, **Boolean** or **Date**
   - **Label**: the name people see
   - **Required**: a new row cannot be saved without a value in this column

**4.** Select **Save** for the column, and **SUBMIT** for the database.

![The Update database form with five custom columns](/files/Jaswvl2X860f.webp)

Every database also has two **Primary columns** that you cannot remove: **Identifier** (`id`) and **Name** (`name`). TAS also stores the creation date of each row.

Some words cannot be column names, for example `id`, `name`, `table`, `number` or `json`. TAS tells you when you use one. See [Database tables](../../reference/database-tables/).

## Change a database

Select the gear icon of the database and then **Edit**. You can rename it, add, remove and reorder columns, and change their types. When you select **SUBMIT**, TAS changes the PostgreSQL table to match. Removing a column also removes its data.

## Clone or remove a database

Select the gear icon and then **Clone** or **Remove**:

- **Clone** creates a copy of the structure, named with "(cloned)". The rows are not copied.
- **Remove** deletes the database and its table with all rows. This cannot be undone.

Every change also updates the database components in your flows. See [Use databases in a flow](../database-components/).
