diff --git a/server/src/main/resources/application-postgresql.yaml b/server/src/main/resources/application-postgresql.yaml index 9fd6e1b3..6703ecef 100644 --- a/server/src/main/resources/application-postgresql.yaml +++ b/server/src/main/resources/application-postgresql.yaml @@ -6,3 +6,6 @@ spring: flyway: locations: classpath:db/postgresql/migration + url: jdbc:postgresql://localhost:5432/postgres + user: postgres + password: openpostgresql diff --git a/server/src/main/resources/db/postgresql/migration/V0.13.0_0022__DDL_ROLE_AUTHORITY.SQL b/server/src/main/resources/db/postgresql/migration/V0.13.0_0022__DDL_ROLE_AUTHORITY.SQL index 3b6c2cc4..f63e5f89 100644 --- a/server/src/main/resources/db/postgresql/migration/V0.13.0_0022__DDL_ROLE_AUTHORITY.SQL +++ b/server/src/main/resources/db/postgresql/migration/V0.13.0_0022__DDL_ROLE_AUTHORITY.SQL @@ -5,7 +5,7 @@ create sequence if not exists role_authority_seq cache 1 no cycle; -create table if not exists ikuser_role +create table if not exists role_authority ( id int8 not null default nextval('role_authority_seq'), role_id int8 not null,