Skip to content

Extensions and Roles #199

@pixie79

Description

@pixie79

Hi,

This may be a documentation question or a needed new feature?

I have the following code that currently i need to run against a new Postgres DB

CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
CREATE ROLE web_anon NOLOGIN;
CREATE ROLE admin NOLOGIN;

I do this to enable the UUID extension in Postgres and also to setup some roles so that later grant statements work correctly.

Is there a correct place to put these seed statements that really should run first before any schema creation is done? (especially as they apply to the DB and not a specific table)

Thanks

Mark

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions