Setting a field as Not NULL in phpmyadmin

前端 未结 2 1404
栀梦
栀梦 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.

提交回复
热议问题