Column cannot be null Mysql

前端 未结 8 1759
广开言路
广开言路 2020-12-21 05:12

Below is my table structure

CREATE TABLE IF NOT EXISTS `physicians` (
  `physician_id` bigint(20) NOT NULL AUTO_INCREMENT,
  `user_id` bigint(20) NOT NULL,
         


        
8条回答
  •  死守一世寂寞
    2020-12-21 05:55

    If you don't want to enter a value simply don't make the column not null, skip this statement, else it is compalsary to enter a value in it.

提交回复
热议问题