vona-module-a-orm 5.0.74 → 5.0.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3773,7 +3773,7 @@ function ExtendSchemaBuilder(app) {
3773
3773
  ['fetchDatabases', 'createDatabase', 'dropDatabase', 'fetchIndexes'].forEach(method => {
3774
3774
  knex.SchemaBuilder.extend(method, async function (...args) {
3775
3775
  const client = cast(cast(this).client).config.client;
3776
- const dialect = app.bean.scope('a-orm').service.database.getDialect(client);
3776
+ const dialect = app.scope('a-orm').service.database.getDialect(client);
3777
3777
  return await dialect[method](this, ...args);
3778
3778
  });
3779
3779
  });
@@ -3782,7 +3782,7 @@ function ExtendSchemaBuilder(app) {
3782
3782
  const __ThisModule__ = 'a-orm';
3783
3783
 
3784
3784
  function ExtendTableBuilder(app) {
3785
- const scope = app.bean.scope(__ThisModule__);
3785
+ const scope = app.scope(__ThisModule__);
3786
3786
  function _basicFields(options, identityType) {
3787
3787
  options = options || {};
3788
3788
  if (options.id !== false) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-module-a-orm",
3
3
  "type": "module",
4
- "version": "5.0.74",
4
+ "version": "5.0.75",
5
5
  "title": "a-orm",
6
6
  "vonaModule": {
7
7
  "capabilities": {