10
src/models/Migrations/Migration.d.ts
vendored
Normal file
10
src/models/Migrations/Migration.d.ts
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
import type Client from 'models/Clients/Client'
|
||||
|
||||
export default interface Migration {
|
||||
/**
|
||||
* timestamp in UTC
|
||||
*/
|
||||
date: number
|
||||
up(client: Client): Promise<boolean>
|
||||
down?(client: Client): Promise<boolean>
|
||||
}
|
Reference in New Issue
Block a user