mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 04:10:32 +00:00
feat: migration commands (#828)
* feat: migration commands * Update packages/server/src/modules/CLI/commands/TenantsMigrateRollback.command.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update packages/server/src/modules/CLI/commands/TenantsMigrateLatest.command.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update packages/server/src/modules/CLI/commands/TenantsList.command.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update packages/server/src/modules/CLI/commands/SystemMigrateRollback.command.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update packages/server/src/modules/CLI/commands/TenantsMigrateLatest.command.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { Command, CommandRunner } from 'nest-commander';
|
||||
|
||||
@Command({
|
||||
name: 'system:seed:latest',
|
||||
description: 'Seed system database with the latest data',
|
||||
})
|
||||
export class SystemSeedLatestCommand extends CommandRunner {
|
||||
async run(): Promise<void> {
|
||||
console.log('System seeding with latest data - No operation performed');
|
||||
// TODO: Implement system seeding logic
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user