Module db_schema

Module db_schema 

Source
Expand description

Programmatic schema generaton

We don’t have a macro facility for SQL. Instead, this file simply generates the too-formulaic parts using Rust code.

Do not use information from db_data.rs, eg via bsql_column_names. That would bypass our detection of schema changes which might need explicit migration handling.

Constants§

SCHEMA_VERSION

Functions§

migration_data
schema