Skip to content

Duplicated insert statements when setting up the test databases. #3

@melonistic

Description

@melonistic

Perhaps, Try if not exists, insert

ERROR: role "fphsetl" already exists
ERROR: role "fphsetl" already exists
ERROR: role "fphsetl" already exists
ERROR: role "fphsetl" already exists
ERROR: role "fphsetl" already exists
ERROR: role "fphsetl" already exists
ERROR: role "fphsetl" already exists
ERROR: role "fphsetl" already exists
ERROR: role "fphs" already exists
ERROR: role "fphs" already exists
ERROR: role "fphs" already exists
ERROR: role "fphs" already exists
ERROR: role "fphs" already exists
ERROR: role "fphs" already exists
ERROR: role "fphs" already exists
CREATE ROLE
ERROR: role "fphs" already exists
ERROR: role "fphsrailsapp" already exists
ERROR: role "fphsrailsapp" already exists
ERROR: role "fphsrailsapp" already exists
ERROR: role "fphsrailsapp" already exists
ERROR: role "fphsrailsapp" already exists
ERROR: role "fphsrailsapp" already exists
ERROR: role "fphsadm" already exists
ERROR: role "fphsrailsapp" already exists
ERROR: role "fphsadm" already exists
ERROR: role "fphsadm" already exists
ERROR: role "fphsadm" already exists
ERROR: role "fphsadm" already exists
ERROR: role "fphsadm" already exists
ERROR: role "fphsadm" already exists
ERROR: role "fphsadm" already exists
CREATE ROLE
ERROR: duplicate key value violates unique constraint "pg_authid_rolname_index"
DETAIL: Key (rolname)=(fphsusr) already exists.
ERROR: duplicate key value violates unique constraint "pg_authid_rolname_index"
DETAIL: Key (rolname)=(fphsusr) already exists.
ERROR: role "fphsusr" already exists
ERROR: role "fphsusr" already exists
ERROR: role "fphsusr" already exists
ERROR: role "fphsusr" already exists
ERROR: role "fphsusr" already exists

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions