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:
Ahmed Bouhuolia
2025-10-22 21:58:02 +02:00
committed by GitHub
parent 9d714ac78e
commit 3bd0e89146
17 changed files with 608 additions and 21 deletions

View File

@@ -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
}
}