@cyphra/migrator
v0.1.0
Published
Versioned migrations, batch helpers, and schema push for Cyphra
Readme
@cyphra/migrator
Versioned Neo4j migrations and schema push for Cyphra.
import { defineMigration, runPendingMigrations } from "@cyphra/migrator";
import { CyphraClient } from "@cyphra/runtime";
export default defineMigration({
name: "001_example",
async up({ db }) {
await db.run`RETURN 1`;
},
});Tracking node: (:__CyphraMigration { name, appliedAt, checksum }).
