1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 05:14:04 +00:00
laravel-tips/content/tips/you-can-validate-json-columns-at-the-database-level.md
Samuel Štancl 23979938b4 Week 17/2022
2022-04-29 21:07:03 +02:00

586 B
Raw Blame History

title tweet_id thread_slug author_username images created_at slug
You can validate JSON columns at the database level 1520040296930705408 weekly-thread-2022-17 tobias_petry
https://pbs.twimg.com/media/FRQ0DmDXsAE_gbI.jpg
2022-04-29T14:00:22+00:00 you-can-validate-json-columns-at-the-database-level

Database Tip

Extending a traditional database schema with NoSQL-like JSON columns can make the schema more understandable. But you should also ensure these JSON documents conform to an expected schema!

https://sqlfordevs.io/tips/json-schema-validation