Module butane_core::migrations::adb

source ·
Expand description

Abstract representation of a database schema. If using the butane CLI tool, there is no need to use this module. Even if applying migrations without this tool, you are unlikely to need this module.

Structs

  • Abstract representation of a database column schema.
  • Abstract representation of a database schema.
  • Abstract representation of a database table schema.

Enums

  • SqlType which may not yet be known.
  • Individual operation use to apply a migration.
  • Identifier for a type as used in a database column. Supports both SqlType and identifiers known only by name. The latter is used for custom types. SqlType::Custom cannot easily be used directly at compile time when the proc macro serializing type information runs.
  • Key used to help resolve DeferredSqlType

Functions

  • Determine the operations necessary to move the database schema from old to new.