colossal-ice-49128
07/21/2021, 12:25 AMbored-table-20691
07/21/2021, 12:31 AMcolossal-ice-49128
07/21/2021, 2:24 AMbored-table-20691
07/21/2021, 2:36 AMcolossal-ice-49128
07/21/2021, 2:43 AMconst role = new postgres.Role("role", {
login: true,
name: "role",
password: 'password'
})
const grant = new postgres.Grant("halo-application-grant", {
database: theCluster.databaseName,
objectType: "database",
privileges: ["SELECT", "INSERT", "UPDATE", "DELETE"],
role: role.name,
})
superuser = false
as suggestedpostgresql:superuser: false
to the stack config. But the serverless cluster takes a minute to warm up, so I still doubt I can run this without a delay or loop of some sort.bored-table-20691
07/21/2021, 3:46 AM