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-database-level.md
Samuel Štancl d5718fbbc8 Week 27/2022
2022-07-10 21:21:46 +02:00

573 B
Raw 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.io/json-schema-validation