@mikro-orm/knex 6.2.10-dev.75 → 6.2.10-dev.77
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.
|
@@ -30,6 +30,9 @@ export declare abstract class BaseSqlitePlatform extends AbstractSqlPlatform {
|
|
|
30
30
|
}): string;
|
|
31
31
|
getFloatDeclarationSQL(): string;
|
|
32
32
|
getBooleanTypeDeclarationSQL(): string;
|
|
33
|
+
getCharTypeDeclarationSQL(column: {
|
|
34
|
+
length?: number;
|
|
35
|
+
}): string;
|
|
33
36
|
getVarcharTypeDeclarationSQL(column: {
|
|
34
37
|
length?: number;
|
|
35
38
|
}): string;
|
|
@@ -38,6 +38,9 @@ class BaseSqlitePlatform extends AbstractSqlPlatform_1.AbstractSqlPlatform {
|
|
|
38
38
|
getBooleanTypeDeclarationSQL() {
|
|
39
39
|
return 'integer';
|
|
40
40
|
}
|
|
41
|
+
getCharTypeDeclarationSQL(column) {
|
|
42
|
+
return 'text';
|
|
43
|
+
}
|
|
41
44
|
getVarcharTypeDeclarationSQL(column) {
|
|
42
45
|
return 'text';
|
|
43
46
|
}
|
package/index.mjs
CHANGED
|
@@ -33,6 +33,7 @@ export const ChangeSet = mod.ChangeSet;
|
|
|
33
33
|
export const ChangeSetComputer = mod.ChangeSetComputer;
|
|
34
34
|
export const ChangeSetPersister = mod.ChangeSetPersister;
|
|
35
35
|
export const ChangeSetType = mod.ChangeSetType;
|
|
36
|
+
export const CharacterType = mod.CharacterType;
|
|
36
37
|
export const Check = mod.Check;
|
|
37
38
|
export const CheckConstraintViolationException = mod.CheckConstraintViolationException;
|
|
38
39
|
export const Collection = mod.Collection;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/knex",
|
|
3
|
-
"version": "6.2.10-dev.
|
|
3
|
+
"version": "6.2.10-dev.77",
|
|
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
|
"main": "index.js",
|
|
6
6
|
"module": "index.mjs",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@mikro-orm/core": "^6.2.9"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
|
-
"@mikro-orm/core": "6.2.10-dev.
|
|
69
|
+
"@mikro-orm/core": "6.2.10-dev.77",
|
|
70
70
|
"better-sqlite3": "*",
|
|
71
71
|
"libsql": "*",
|
|
72
72
|
"mariadb": "*"
|