---
title: Column types
project: Tables
version: 7.0
section: reference
language: it
translation: missing
license: Total.js Enterprise
url: https://totaljs.es/docs/it/tables/7-0/reference/column-types/
updated: 2026-11-20T06:39:57.622Z
---

# Column types

> All the types of a column, what they store and how they are stored in PostgreSQL.

Choose the type when you add a column. Later, a type can only be changed to another type with the same kind of data. See [Columns](../../guides/columns/).

| Type | What it stores | PostgreSQL type |
|---|---|---|
| **Text** | A short text. | `TEXT` |
| **Multiline** | A longer text on several lines. | `TEXT` |
| **Name** | The name of a person. | `TEXT` |
| **Number** | A number. **Decimals** in the formatting sets the decimal places. | `NUMERIC` |
| **Auto increment** | A number that Tables fills in for each new record, in the format you set. | `TEXT` |
| **Checkbox** | Yes or no. | `BOOLEAN` |
| **Date** | A date. | `DATE` |
| **Date + Time** | A date and a time. | `TIMESTAMP` |
| **Dropdown** | One value from a list of items that you define. | `TEXT` |
| **Radio button** | One value from a list of items, shown as radio buttons. | `TEXT` |
| **Tags** | Several words. | `TEXT[]` |
| **Email** | An email address, with a button to write to it. | `TEXT` |
| **Phone** | A phone number, with a button to call it. | `TEXT` |
| **URL address** | A web address. | `TEXT` |
| **ZIP code** | A postal code. | `TEXT` |
| **Color** | A color. | `TEXT` |
| **Icon** | An icon. | `TEXT` |
| **JSON** | JSON data. | `TEXT` |
| **HTML content** | Formatted text. | `TEXT` |
| **Password** | A password, stored as a hash, never as plain text. | `TEXT` |
| **Secret** | A value hidden in the screens until you click **show**. | `TEXT` |
| **International Article Number (EAN-13)** | A barcode number. | `TEXT` |
| **Map position** | A position on a map. | `TEXT` |
| **User** | A user name. | `TEXT` |
| **File** | One uploaded file. | `JSON` |
| **Attachments** | Several uploaded files. | `JSON` |
| **Photo** | One image. | `JSON` |
| **Gallery** | Several images. | `JSON` |
| **Table** | A link to a record of another table. See [Relations](../../guides/relations/). | `TEXT` |
| **SQL** | A value calculated by PostgreSQL, read-only. See [Calculated columns](../../guides/sql-columns/). | not stored |

## Dropdown and Radio button items

Each item has a **Name**, and can have an ID, an icon and a color. Tables stores the ID of the chosen item. Use the ID in [conditions](../../guides/conditional-formatting/) and in the [API](../api/).

## Auto increment format

The format builds the value from these parts:

- `Y`: the year, for example `yyyy` gives `2026`.
- `M`: the month.
- `#`: the incremented number, padded with zeros to the number of `#`.
- `{column}`: the value of another column.

For example, `yyyy####` gives `20260001`, `20260002` and so on.

## Image settings

For **File**, **Attachments**, **Photo** and **Gallery**, the column form has **Width** and **Height** for images, and **Disproportionate image width and height**.
