Setting a field as Not NULL in phpmyadmin

前端 未结 2 1405
栀梦
栀梦 2021-02-04 08:40

I can\'t find where I can set a field as NOT NULL in phpmyadmin. I would like to have alse my database controlling this feature. I am doing this programatically but I believe th

相关标签:
2条回答
  • 2021-02-04 09:17

    When editing the field in the Structure tab, look for the "NULL" checkbox. When un-checked, this is the equivalent of the NOT NULL statement.

    0 讨论(0)
  • 2021-02-04 09:27

    If you uncheck this property then it means that it is not null.

    0 讨论(0)
提交回复
热议问题