Skip to content

Commit 1ebe276

Browse files
[11.x] migration docs: adding clarification for json/jsonb datatypes… (laravel#10134)
* [11.x] migration docs: adding clarification for json/jsonb datatypes on sqlite Adding clarification for json/jsonb datatypes on sqlite. * Update migrations.md --------- Co-authored-by: Taylor Otwell <[email protected]>
1 parent 660476c commit 1ebe276

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

migrations.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,13 +638,17 @@ The `json` method creates a `JSON` equivalent column:
638638

639639
$table->json('options');
640640

641+
When using SQLite, a `TEXT` column will be created.
642+
641643
<a name="column-method-jsonb"></a>
642644
#### `jsonb()` {.collection-method}
643645

644646
The `jsonb` method creates a `JSONB` equivalent column:
645647

646648
$table->jsonb('options');
647649

650+
When using SQLite, a `TEXT` column will be created.
651+
648652
<a name="column-method-longText"></a>
649653
#### `longText()` {.collection-method}
650654

0 commit comments

Comments
 (0)