Add support for native JSON datatype in SQL Server 2025 in Schema Builder #57883
Unanswered
martijnvt1981
asked this question in
Ideas
Replies: 1 comment
-
|
Carefully mentioning @driesvints & @taylorotwell here 🙂. Hope you don’t mind, but I see a lot of threads here unanswered. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Laravel's Schema Builder's
->json()method currently createsnvarchar(max)columns for JSON data on SQL Server. However, SQL Server 2025 introduces native JSON datatype support.I'd like to see support for native JSON datatype in SQL Server 2025 added to Laravel's SQL Server grammar so that
->json()creates JSON columns instead ofnvarchar(max). We'd need to introduce backwards compatibility though, as SQL Server 2022 does not support native JSON, but the 2025 version does.Beta Was this translation helpful? Give feedback.
All reactions