java - Owner postgres table is wrong -
i using postgresql in application, , have problem, table being created postgres owner, instead of user, user01
. guess connect config right. problem when deploy app tables owner being postgres
, if connect in localhost owner user01
.
connection jdbc config:
db.url=jdbc:postgresql://localhost/lesson01 db.username=user01 db.password=user01password
config table:
-- table: atividade -- drop table atividade; create table atividade ( id bigserial not null, nome character varying(255), valor double precision, constraint atividade_pkey primary key (id) ) ( oids=false ); alter table atividade owner postgres; //i need owner here user01
if need more info context problem, tell me.
anyone me, please?
Comments
Post a Comment