Skip to content

Scaffolding: recover [Encrypted], profiles, and enum-backed columns #4

Description

@WailedParsley36

Some information can't be recovered from the database alone:

  • [Encrypted] columns are stored as bytea, indistinguishable from a real byte[]. They scaffold as byte[] today. Consider an --encrypted <col,col> hint (and/or a naming convention) to re-apply [Encrypted]. The column's encryptor profile ([Encrypted(Profile = "…")], new in 0.3.3) is likewise unrecoverable — accept it in the same hint.
  • Enum-backed columns scaffold as their underlying primitive.

Document the lossy directions and provide opt-in hints where practical.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliCLI tool (Socigy.OpenSource.DB.Tool)encryption[Encrypted] columns / Vault transitscaffoldingDB to code scaffolding / introspection

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions