1.修改表结构
alter table p_rulesrecord alter feedback type character varying(4000)
alter table p_checkitem rename column enable to iidx
alter table p_recordcheckitem add column successful integer 2.数据类型
名字别名描述bigintint8有符号 8 字节整数bigserialserial8自增 8 字节整数bit [ (n) ]定长位串bit varying [ (n) ]varbit变长位串booleanbool逻辑布尔值(真/假)box平面中的矩形bytea二进制数据("字节数组")character varying [ (n) ]varchar [ (n) ]变长字符串character [ (n) ]char [ (n) ]定长字符串cidrIPv4 或 IPv6 网络地址circle平面中的圆date日历日期(年, 月, 日)double precisionfloat8双精度浮点数字inetIPv4 或 IPv6 网络地址integerint, int4有符号 4 字节整数interval [ (p) ]时间间隔line平面中的无限长直线lseg平面中的线段macaddrMAC 地址money货币金额numeric [ (p, s) ]decimal [ (p, s) ]可选精度的准确数字path平面中的几何路径point平面中的点polygon平面中的封闭几何路径realfloat4单精度浮点数smallintint2有符号 2 字节整数serialserial4自增 4 字节整数text变长字符串time [ (p) ] [ without time zone ]一天中的时间time [ (p) ] with time zonetimetz一天里的时间,包括时区timestamp [ (p) ] [ without time zone ]日期和时间timestamp [ (p) ] with time zonetimestamptz日期和时间,包括时区 3.数值类型