mirror of
https://github.com/findyourmagic/dber.git
synced 2026-04-26 14:35:52 +03:00
[GH-ISSUE #24] 导出sql中的pgsql的bigint 数据类型问题 #12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jackman0925 on GitHub (Sep 6, 2022).
Original GitHub issue: https://github.com/findyourmagic/dber/issues/24
导出sql中的pgsql的bigint 数据类型问题 ,请见附件

@findyourmagic commented on GitHub (Sep 6, 2022):
感谢,
PG 里面设置自增的 bigint 做主键时好像需要设置为 bigserial,当前的问题可以先把类型设置为 bigserial 解决。
不过确实这里直接转换成 serial 是有问题的,这个转换的问题源自所依赖的库 dbml,我会再测试下给他们提个 issue,并在这里跟进一下结果。
@jackman0925 commented on GitHub (Sep 6, 2022):
👍,online的已经很不错了,加油!
提一个建议, 如果表多的话查找不是很方便,如果左手边有一个列表会更加方便一些,谢谢!
@findyourmagic commented on GitHub (Sep 6, 2022):
类似索引可以快速聚焦到指定表那种么?不错的建议