55812b0394
* bskylink: scaffold service w/ initial config and schema * bskylink: implement link creation and redirects * bskylink: tidy * bskylink: tests * bskylink: tidy, add error handler * bskylink: add dockerfile * bskylink: add build * bskylink: fix some express plumbing * bskyweb: proxy fallthrough routes to link service redirects * bskyweb: build w/ link proxy * Add AASA to bskylink (#4588) --------- Co-authored-by: Hailey <me@haileyok.com>
9 lines
276 B
TypeScript
9 lines
276 B
TypeScript
import {Migration, MigrationProvider} from 'kysely'
|
|
|
|
export class DbMigrationProvider implements MigrationProvider {
|
|
constructor(private migrations: Record<string, Migration>) {}
|
|
async getMigrations(): Promise<Record<string, Migration>> {
|
|
return this.migrations
|
|
}
|
|
}
|