mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-30 20:24:47 +00:00
chore: Update the migration of
This commit is contained in:
@@ -15,7 +15,7 @@ export class Migration<Store, Version extends ManifestVersion> {
|
|||||||
up: (opts: { effects: Effects; utils: Utils<Store> }) => Promise<void>
|
up: (opts: { effects: Effects; utils: Utils<Store> }) => Promise<void>
|
||||||
down: (opts: { effects: Effects; utils: Utils<Store> }) => Promise<void>
|
down: (opts: { effects: Effects; utils: Utils<Store> }) => Promise<void>
|
||||||
}) {
|
}) {
|
||||||
return new Migration(options)
|
return new Migration<Store, Version>(options)
|
||||||
}
|
}
|
||||||
|
|
||||||
async up(opts: { effects: Effects; utils: Utils<Store> }) {
|
async up(opts: { effects: Effects; utils: Utils<Store> }) {
|
||||||
|
|||||||
Reference in New Issue
Block a user