Commit 4d56d34e authored by nanahira's avatar nanahira

use token directly as name

parent b7542743
......@@ -86,7 +86,7 @@ export default class TypeORMPlugin extends BasePlugin<TypeORMPluginConfigLike> {
entities,
entityPrefix: `koishi_${token}_`,
metadataTableName: `koishi_typeorm_metadata_${token}`,
name: `koishi_${token}`,
name: token,
...extraOptions,
};
const connection = await new Connection(connectionOptions).connect();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment