@mikro-orm/entity-generator 7.1.0-dev.21 → 7.1.0-dev.22

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/SourceFile.js +3 -0
  2. package/package.json +3 -3
package/SourceFile.js CHANGED
@@ -661,6 +661,9 @@ export class SourceFile {
661
661
  if (typeof prop.comment === 'string') {
662
662
  options.comment = this.quote(prop.comment);
663
663
  }
664
+ if (typeof prop.collation === 'string') {
665
+ options.collation = this.quote(prop.collation);
666
+ }
664
667
  // TODO: Composite FKs with default values require additions to default/defaultRaw that are not yet supported.
665
668
  if (prop.fieldNames?.length <= 1) {
666
669
  if (typeof prop.defaultRaw !== 'undefined' &&
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikro-orm/entity-generator",
3
- "version": "7.1.0-dev.21",
3
+ "version": "7.1.0-dev.22",
4
4
  "description": "TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.",
5
5
  "keywords": [
6
6
  "data-mapper",
@@ -47,13 +47,13 @@
47
47
  "copy": "node ../../scripts/copy.mjs"
48
48
  },
49
49
  "dependencies": {
50
- "@mikro-orm/sql": "7.1.0-dev.21"
50
+ "@mikro-orm/sql": "7.1.0-dev.22"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@mikro-orm/core": "^7.0.12"
54
54
  },
55
55
  "peerDependencies": {
56
- "@mikro-orm/core": "7.1.0-dev.21"
56
+ "@mikro-orm/core": "7.1.0-dev.22"
57
57
  },
58
58
  "engines": {
59
59
  "node": ">= 22.17.0"