> For the complete documentation index, see [llms.txt](https://docs.acpt.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.acpt.io/developers/functions/create_acpt_table.md).

# create\_acpt\_table

Explicitly create the physical database table from the stored definition

Explicitly create the physical database table from the stored definition.

{% hint style="info" %}
Prefer `sync_acpt_table()` in most cases — it handles both the `not_created` and `not_synced` states automatically.
{% endhint %}

### Usage

```php
create_acpt_table('products');
```

### Parameters

| Parameter   | Type   | Required | Description               |
| ----------- | ------ | -------- | ------------------------- |
| `tableName` | string | Required | Machine name of the table |

### Return

| Type   | Description                                                                    |
| ------ | ------------------------------------------------------------------------------ |
| `bool` | `true` on success, `false` on error or when the table definition was not found |
