'What is the meaning of nullable() in Laraval migration?
What is the meaning of nullable() in Laraval migration? For example, this is in our migration:
$table->string('middle_name')->nullable();
Solution 1:[1]
It will make the column nullable in the database which means you can store null values to that column or also can be said that it is not a mandatory field in database
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Nishan Timsina |
