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-database-level.md
2022-08-20 14:36:24 +02:00

575 B
Raw Permalink Blame History

title tweet_id thread_slug author_username images created_at slug
You can validate JSON columns at database level 1545466000790892544 weekly-thread-2022-27 tobias_petry
https://pbs.twimg.com/media/FW-NXH9X0AE4uSd.jpg
2022-07-08T17:53:02+00:00 you-can-validate-json-columns-at-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