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> { ...@@ -86,7 +86,7 @@ export default class TypeORMPlugin extends BasePlugin<TypeORMPluginConfigLike> {
entities, entities,
entityPrefix: `koishi_${token}_`, entityPrefix: `koishi_${token}_`,
metadataTableName: `koishi_typeorm_metadata_${token}`, metadataTableName: `koishi_typeorm_metadata_${token}`,
name: `koishi_${token}`, name: token,
...extraOptions, ...extraOptions,
}; };
const connection = await new Connection(connectionOptions).connect(); 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