SchemaDefinition
Complete database schema definition.
public sealed record SchemaDefinition : IEquatable<SchemaDefinition>
Properties
Name
public string Name { get; init; }
Schema name.
Tables
public IReadOnlyList<TableDefinition> Tables { get; init; }
Tables in this schema.
Roles
public IReadOnlyList<PostgresRoleDefinition> Roles { get; init; }
PostgreSQL roles managed by this schema. Implements [RLS-PG-SUPPORT-DDL].
Functions
public IReadOnlyList<PostgresFunctionDefinition> Functions { get; init; }
PostgreSQL helper functions managed by this schema. Implements [RLS-PG-SUPPORT-DDL].
Grants
public IReadOnlyList<PostgresGrantDefinition> Grants { get; init; }
PostgreSQL grants managed by this schema. Implements [RLS-PG-SUPPORT-DDL].