fix: fix code block style

This commit is contained in:
codinghuang 2020-02-22 12:19:50 +08:00
parent 0d09ad0104
commit 6e5bb1962a
2 changed files with 4 additions and 4 deletions

View File

@ -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();
```
```

View File

@ -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();
```
```