postgre报错:RETURNING “id“ was aborted: ERROR: null value in column “id“ violates not-null constraint
我在使用postgre插入数据的时候报了一个错:RETURNING"id"wasaborted:ERROR:nullvalueincolumn"id"violatesnot-nullconstraint表的创建sql语句如下:CREATETABLEcity(idint8PRIMARYKEYNOTNULL,namevarchar(30)NOTNULL,gov_areaVARCHAR(100)NOTN