Documentation
    Preparing search index...

    Handles saving and loading local schema snapshots for migration diffing.

    Index

    Constructors

    • Parameters

      • migrationsPath: string

      Returns SnapshotManager

    Methods

    • Loads the current schema snapshot. Returns an empty object if no snapshot exists.

      Returns Record<string, any[]>

    • Saves the schema snapshot.

      Parameters

      • snapshot: Record<string, any[]>

      Returns void