mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 05:14:04 +00:00
Week 11/2022
This commit is contained in:
parent
4af817e2b0
commit
b451d14953
12 changed files with 135 additions and 1 deletions
13
content/tips/you-can-validate-data-at-the-database-level.md
Normal file
13
content/tips/you-can-validate-data-at-the-database-level.md
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
title: 'You can validate data at the database level'
|
||||
tweet_id: '1505269891535818754'
|
||||
thread_slug: weekly-thread-2022-11
|
||||
author_username: tobias_petry
|
||||
images:
|
||||
- 'https://pbs.twimg.com/media/FN-JmJCXEAUCQjy.jpg'
|
||||
created_at: 2022-03-19T19:48:03+00:00
|
||||
slug: you-can-validate-data-at-the-database-level
|
||||
---
|
||||
⚡️ Database Tip
|
||||
|
||||
Your application will have bugs and any data stored may be corrupt forever. But with constraints on the data model, rules would have prevented saving incorrect data in the first place! Use them as a last frontier to make sure you always have valid data.
|
||||
Loading…
Add table
Add a link
Reference in a new issue