> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chaintable.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 创建表

> New Table 弹窗里每个字段该怎么填。

在你的 Space 里点 **New Table**，会看到这几个字段：

<Frame caption="New Table 弹窗" />

| 字段              | 说明                                                                                                      |
| --------------- | ------------------------------------------------------------------------------------------------------- |
| **Table Type**  | 必填。Normal / Block Event / Block State / Time 四选一，决定了这张表的写入语义。不确定选哪个先看 [选哪种表类型](/indexing/tables/types)。 |
| **Chain**       | 只有 Table Type 选了 Block Event 或 Block State 才会出现。表要对齐哪条链的区块高度。                                           |
| **Table name**  | 必填。在当前 Space 内唯一，命名规则见下方。                                                                               |
| **Description** | 可选，最多 255 字符。                                                                                           |

保存后会直接跳进新表的详情页，但这时候表是空的、还不能写数据——详情页会提示先 **Edit Columns**。这一步是必须的：至少要有一个叫 `id` 的列（平台按这个名字认主键），列名要跟你写入的数据字段对上。具体怎么加列、类型怎么选，见 [列与数据类型](/indexing/tables/columns)。

## 表名的最终形态

如果选了 Chain，保存后表名会自动拼上链的后缀：

```
你填的名字: transfers
选的 Chain: eth
────────────────────
最终表名:   transfers.eth
```

完整的引用路径是 `<space>.<table>.<chain>`，比如 `myspace.transfers.eth`。Normal 和 Time 类型没有链后缀，就是 `<space>.<table>`。

<Card title="资源命名规则" icon="text-cursor-input" href="/indexing/tables/naming">
  表名、Function 名、Notebook 名的命名限制
</Card>
