Skip to content

Commit

Permalink
alter doc added in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
AbmSourav committed Feb 11, 2024
1 parent cd6a0d4 commit e88744b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,17 @@ DB::drop('posts');
DB::dropIfExists('terms');
```

<br>

### Alter Statement

``` php
DB::alter('cv_users')
->modify('name', 'username')->string(455)->required()
->modify('settings')->json()
->execute();
```

<br>
<br>

Expand Down

0 comments on commit e88744b

Please sign in to comment.