fix: hotbugs in multi-tenant arch.

This commit is contained in:
Ahmed Bouhuolia
2020-04-22 01:12:24 +02:00
parent 8f588ffc51
commit 1e13aa16ac
6 changed files with 33 additions and 80 deletions

13
server/cli/tenants.js Normal file
View File

@@ -0,0 +1,13 @@
import { program } from 'commander';
program
.version('0.0.1')
.description('An application for pizzas ordering')
.command('tenants:migrate')
.description('Migrate all tenants or the given tenant id.')
.option('-t, --tenant_id [tenant_id]', 'Which tenant id do you migrate.')
.action(async () => {
});
program.parse(process.argv);