datum-gateway-startos/scripts/procedures/migrations.ts
2025-01-13 09:08:05 -08:00

25 lines
564 B
TypeScript

import { compat, matches, types as T } from "../deps.ts";
export const migration: T.ExpectedExports.migration =
compat.migrations.fromMapping(
{
"0.2.1": {
up: compat.migrations.updateConfig(
(config) => {
return config;
},
false,
{ version: "0.2.1", type: "up" }
),
down: compat.migrations.updateConfig(
(config) => {
return config;
},
false,
{ version: "0.2.1", type: "down" }
),
},
},
"0.2.2"
);