Skip to content

Commit 1ef0c04

Browse files
committed
Updates writing-migrations.md
Auto commit by GitBook Editor
1 parent 9ad480b commit 1ef0c04

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

writing-migrations.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ Postgres adapter 支持 `smallint` 、`json` 、`jsonb` 和 `uuid` (需要 Pos
594594
| update | 当数据更新时的触发动作 (CURRENT\_TIMESTAMP) |
595595
| timezone | 开启或关闭 with time zone 选项 |
596596

597-
可以在标准使用 `addTimestamps()` 方法添加 `created_at`_ 和 `updated_at`_ 。方法支持自定义名字。
597+
可以在标准使用 `addTimestamps()` 方法添加 `created_at`_ 和 _`updated_at` 。方法支持自定义名字。
598598

599599
```
600600
<?php
@@ -620,7 +620,7 @@ class MyNewMigration extends AbstractMigration
620620
| :--- | :--- |
621621
| signed | 开启或关闭 unsigned 选项(仅适用于 MySQL) |
622622

623-
`string`` text` 类型字段:
623+
`string``text` 类型字段:
624624

625625
| 选项 | 描述 |
626626
| :--- | :--- |
@@ -640,5 +640,3 @@ class MyNewMigration extends AbstractMigration
640640

641641

642642

643-
644-

0 commit comments

Comments
 (0)