preflight

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package preflight holds the CLI preflight checks that must hold on every dialect: -migrate and -check against a conflicting registry leave a fresh database untouched, a valid -migrate reaches it, and no flag pair applies a write under a conflict. The recording driver is SQLite regardless of the run's dialect, so its zero-call assertions behave the same everywhere. It lives apart from the root package so CI runs these on PostgreSQL and MySQL.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL