mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-03 04:08:01 +08:00
fix: fix code block style
This commit is contained in:
parent
0d09ad0104
commit
6e5bb1962a
@ -489,7 +489,7 @@ $table->dropForeign('posts_user_id_foreign');
|
||||
|
||||
或者传递一个字段数组,让迁移程序按照约定的规则生成名称:
|
||||
|
||||
````php
|
||||
```php
|
||||
$table->dropForeign(['user_id'']);
|
||||
```
|
||||
|
||||
@ -500,4 +500,4 @@ $table->dropForeign(['user_id'']);
|
||||
Schema::enableForeignKeyConstraints();
|
||||
// 禁用外键约束
|
||||
Schema::disableForeignKeyConstraints();
|
||||
```
|
||||
```
|
||||
|
@ -489,7 +489,7 @@ $table->dropForeign('posts_user_id_foreign');
|
||||
|
||||
或者传递一个字段数组,让迁移程序按照约定的规则生成名称:
|
||||
|
||||
````php
|
||||
```php
|
||||
$table->dropForeign(['user_id'']);
|
||||
```
|
||||
|
||||
@ -500,4 +500,4 @@ $table->dropForeign(['user_id'']);
|
||||
Schema::enableForeignKeyConstraints();
|
||||
// 禁用外键约束
|
||||
Schema::disableForeignKeyConstraints();
|
||||
```
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user