certd/packages/ui/certd-server/db
xiaojunnuo 90ce4fec2c chore: sql 2025-09-27 01:24:34 +08:00
..
migration perf: 开启子域名托管之后cname记录支持重置 2025-09-26 01:21:24 +08:00
migration-mysql chore: sql 2025-09-27 01:24:34 +08:00
migration-pg chore: sql 2025-09-27 01:24:34 +08:00
readme.md chore: plugin管理 2024-10-13 01:27:08 +08:00
transform.js chore: 数据库同步 2025-09-14 00:40:38 +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