LegacyMigration

See source code
Table of contents

Legacy migration interface for backward compatibility.

This interface represents the old migration format that included both up and down transformation functions. While still supported, new code should use the Migration type which provides more flexibility and better integration with the current system.

interface LegacyMigration<Before = any, After = any> {}

Properties

down

down: (newState: After) => Before

up

up: (oldState: Before) => After

Prev
LegacyBaseMigrationsInfo
Next
LegacyMigrations