mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-03 04:08:01 +08:00
Merge pull request #1356 from huanghantao/fix-markdown-style
fix: fix code block style
This commit is contained in:
commit
5af92e9de7
@ -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