method

Store.Plan

func (backend *Store) Plan( ctx context.Context, manifest schema.Manifest, ) ([]Statement, error)

Inspect the live database and plan only a safe development synchronization.

Source adapters/postgres/migrate.go:92

@param ctx
The ctx value.
@param manifest
The manifest value.
@returns
The declared result.

This is for ridu dev. Production changes use reviewed migration artifacts.

Related types

  • Store

    A PostgreSQL implementation of Ridu’s document, snapshot, auth, preference, task, job, lock, upload-reference, and migration store contracts.

  • Manifest

    An immutable versioned schema contract.

  • Statement

    One ordered development schema change.