Ayman Ali, A community user is working on a PR (https://github.com/strongloop/loopback-next/pull/2245) to support that.
I have tried in the past to use DataSource.discoverSchemas to get the schema/table definitions and use --config
option to create models. But it is not a perfect solution. Just in case, here is what I’ve done: https://github.com/strongloop/v4.loopback.io/issues/50#issuecomment-433191443.
Hope it helps.