Type alias CreateDatabaseUser

CreateDatabaseUser: {
    active?: boolean;
    extra?: Record<string, any>;
    passwd?: string;
    username: string;
}

Database user to create with a database.

Type declaration

  • Optional active?: boolean

    Whether the user is active.

    Default: true

  • Optional extra?: Record<string, any>

    Additional data to store with the user object.

  • Optional passwd?: string

    Password of the user to create.

    Default: ""

  • username: string

    Username of the user to create.