Fix/migration (#6)

* fix migration

* set configured: false
This commit is contained in:
Dominion5254 2024-11-26 09:17:39 -07:00 committed by GitHub
parent ca445001ae
commit b0d0396f0e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,24 @@
import { compat, types as T } from "../deps.ts"; import { compat, matches, types as T } from "../deps.ts";
export const migration: T.ExpectedExports.migration = compat.migrations export const migration: T.ExpectedExports.migration =
.fromMapping({}, "0.3.5" ); 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.1"
);