-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用postgres数据库床建一个项目失败 #25
Comments
这是在postgresql创建的表 create table users
(
id bigint not null,
user_id character varying(50) not null,
user_name character varying(100)
); 用这个表可以生成代码,没有出现错误,你导出sql看看是什么样的。 |
-- Table: public.users
-- DROP TABLE IF EXISTS public.users;
CREATE TABLE IF NOT EXISTS public.users
(
id bigint NOT NULL,
user_id character varying COLLATE pg_catalog."default" NOT NULL,
user_name character varying COLLATE pg_catalog."default",
CONSTRAINT users_pkey PRIMARY KEY (id, user_id)
)
TABLESPACE pg_default;
ALTER TABLE IF EXISTS public.users
OWNER to postgres;
···
这是用pgadmin导出的DDL |
这个bug在 |
经测试问题已经解决,感谢您的回答! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior, if applicable:
The code is
The error is
有可能是数据库字段类型的错误?
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environments (please complete the following information):
More description
Add any other context about the problem here.
如图所示
The text was updated successfully, but these errors were encountered: