mirror of https://github.com/certd/certd
* Create FUNDING.yml * Update FUNDING.yml * Update README.md * Update README.md * Update README.md * Update README.md * Update README_en.md * 证书到期剩余天数进度条根据实际证书时间计算 --------- Co-authored-by: greper <xiaojunnuo@qq.com> |
||
|---|---|---|
| .. | ||
| migration | ||
| migration-mysql | ||
| migration-pg | ||
| readme.md | ||
| transform.js | ||
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