select setval(‘t_custom_model_id_seq‘,1,false);
postgreSQL的设置自增主键初始值
原文:http://www.cnblogs.com/esther-qing/p/6068700.html