certd/packages/ui/certd-server/db
xiaojunnuo 027991b253 chore: 2024-10-20 12:31:35 +08:00
..
migration fix: 修复cname服务普通用户access访问权限问题 2024-10-20 11:47:35 +08:00
migration-pg chore: 2024-10-20 12:31:35 +08:00
readme.md chore: plugin管理 2024-10-13 01:27:08 +08:00
transform.js chore: pg sql自动转换脚本 2024-10-14 12:33:09 +08:00

readme.md

sqlite与postgres不同点

sqlite: AUTOINCREAMENT postgresql: GENERATED BY DEFAULT AS IDENTITY

sqlite: datetime postgresql: timestamp

sqlite: update sqlite_sequence set seq = 1000 where name = 'sys_role' ; postgresql: select setval('sys_role_id_seq', 1000);

sqlite: "disabled" boolean DEFAULT (0) postgresql: "disabled" boolean DEFAULT (false)

sqlite: last_insert_rowid() postgresql: LASTVAL()

sqlite: integer postgresql: bigint