feat(duplicator): tableName and schema
This commit is contained in:
parent
ca95edf295
commit
ef47cac5e6
@ -16,9 +16,11 @@ export default async function getDictAction(ctx, next) {
|
||||
}
|
||||
const item = {
|
||||
name,
|
||||
tableName: collection.model.tableName,
|
||||
title: collection.options.title,
|
||||
namespace: collection.options.namespace,
|
||||
duplicator: collection.options.duplicator,
|
||||
schema: collection.options.schema || process.env.DB_SCHEMA,
|
||||
// columns,
|
||||
};
|
||||
if (!item.namespace && collectionNames.includes(name)) {
|
||||
|
Loading…
Reference in New Issue
Block a user