Skip to main content

POSTGRES_DATABASE_NAME

Constant POSTGRES_DATABASE_NAME 

Source
pub const POSTGRES_DATABASE_NAME: &str = "alien";
Expand description

The fixed inner database (and admin user) name for cloud Postgres backends. AWS rejects hyphens in DatabaseName, and the cluster/instance/server name already carries the resource id, so the inner database is a fixed label rather than the id. Every cloud emitter and controller derives its database name from this single constant so a frozen import always binds to a database that exists. (Local names its database after the resource id and does not use this.)