Tossing notes - MariaDB self-increment and other issues

 MariaDB auto-increment: ENGINE = InnoDB   should be added.

The configuration of field remarks will overwrite the previous configuration!


create table ccd_users
(
   UserId               INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT COMMENT '用户ID',
   UserName             varchar(50) COMMENT '账号',
   PassWord             varchar(50) COMMENT '密码',
   RealName             varchar(50)  COMMENT '真实姓名',
)AUTO_INCREMENT = 10000,ENGINE = InnoDB;



 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325475419&siteId=291194637