Column cannot be null Mysql

前端 未结 8 1770
广开言路
广开言路 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:50

    ALTER TABLE physicians CHANGE `physician_minc` `physician_minc` VARCHAR(20) NULL;

提交回复
热议问题