Home > Q&A > body text
赵子云2019-06-29 17:19:42
It’s a problem with the database design. There is no default value for id. Just set the id to increase by itself.
黄埔竹下2019-06-28 14:02:12
Try this: Db::name('user')->insertGetId($data);
殘留の回憶2019-06-27 22:23:23
Look carefully, save is a modification statement, not an insertion