mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-25 00:59:50 +00:00
* 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>
13 lines
390 B
TypeScript
13 lines
390 B
TypeScript
import { Command, CommandRunner } from 'nest-commander';
|
|
|
|
@Command({
|
|
name: 'tenants:seed:latest',
|
|
description: 'Seed all tenant databases with the latest data',
|
|
})
|
|
export class TenantsSeedLatestCommand extends CommandRunner {
|
|
async run(): Promise<void> {
|
|
console.log('Tenants seeding with latest data - No operation performed');
|
|
// TODO: Implement tenants seeding logic
|
|
}
|
|
}
|