Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does nullable signify for a database

What is nullable refers for a Database, and what does it signifies ?
nullable = 0
nullable = 1

The Image contains column value of a table where nullable is defined: image

Note : Check the highlighted value in Picture

like image 660
Aditya Dhanraj Avatar asked Oct 21 '25 15:10

Aditya Dhanraj


1 Answers

Nullable field (marked with 1) is allowed to have NULL values. If it is marked with 0, it means that it must have a value inside.

like image 57
Marcin Chaj Avatar answered Oct 24 '25 07:10

Marcin Chaj