Skip to main content

PG_SCHEMA_FILE

Constant PG_SCHEMA_FILE 

Source
pub const PG_SCHEMA_FILE: &str = "schema.sql";
Expand description

The file a project’s Postgres schema is kept in, at the project root. Bynk does not own it (ADR 0799 G): when it is there, bynk check checks each literal Postgres statement’s syntax and placeholder count, and the PGlite double applies it to each case’s fresh database.