You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
394 B
18 lines
394 B
import AppClass from '../../../../lib/src/lifecycle/AppClass.ts'
|
|
|
|
export default abstract class Migration extends AppClass {
|
|
public static get_current_epoch(): number {
|
|
return (new Date).getTime()
|
|
}
|
|
|
|
public abstract readonly ordering_epoch: number
|
|
|
|
public abstract up(): any
|
|
|
|
public abstract down(): any
|
|
|
|
public should_apply(): any {
|
|
return true
|
|
}
|
|
}
|