1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 13:24:03 +00:00
laravel-tips/content/tips/you-can-validate-json-columns-at-the-database-level.md
2022-08-20 14:36:24 +02:00

583 B
Raw Permalink 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.com/json-schema-validation