UNPKG

@rsksmart/rif-storage-pinning

Version:

Application for providing your storage space to other to use in exchange of RIF Tokens

30 lines (29 loc) 1.22 kB
import { flags } from '@oclif/command'; import BaseCommand from '../utils'; import { Migration } from '../migrations'; export default class DbCommand extends BaseCommand { static hidden: boolean; static flags: { up: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>; down: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>; generate: flags.IOptionFlag<string | undefined>; to: flags.IOptionFlag<string | undefined>; migration: flags.IOptionFlag<string[]>; db: flags.IOptionFlag<string | undefined>; config: flags.IOptionFlag<string | undefined>; log: flags.IOptionFlag<string>; skipPrompt: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>; 'log-filter': flags.IOptionFlag<string | undefined>; 'log-path': flags.IOptionFlag<string | undefined>; }; static description: string; static examples: string[]; migrate(migrator: Migration, migrations?: string[], options?: { to: string; }): Promise<void>; undo(migrator: Migration, migrations?: string[], options?: { to: string; }): Promise<void>; generateMigration(name: string): void; run(): Promise<void>; }