arckode-framework 1.2.0 → 1.2.2
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.
- package/kernel/framework.ts +3 -3
- package/package.json +1 -1
package/kernel/framework.ts
CHANGED
|
@@ -927,7 +927,7 @@ export class ORM {
|
|
|
927
927
|
const dbCols = await this.getTableColumns(def.table)
|
|
928
928
|
|
|
929
929
|
for (const col of dbCols) {
|
|
930
|
-
if (definedCols.has(col)) continue
|
|
930
|
+
if (definedCols.has(col.toLowerCase())) continue
|
|
931
931
|
|
|
932
932
|
// Intentar DROP COLUMN (SQLite ≥ 3.35.0 y Postgres lo soportan)
|
|
933
933
|
try {
|
|
@@ -1290,8 +1290,8 @@ function buildEnvelope(status: number, body: unknown): string {
|
|
|
1290
1290
|
data: null,
|
|
1291
1291
|
meta: null,
|
|
1292
1292
|
error: {
|
|
1293
|
-
code: b.code ?? 'ERROR',
|
|
1294
|
-
message: b.error ?? 'Error',
|
|
1293
|
+
code: (b.code ?? 'ERROR') as string,
|
|
1294
|
+
message: (b.error ?? 'Error') as string,
|
|
1295
1295
|
details: b.details ?? null,
|
|
1296
1296
|
},
|
|
1297
1297
|
} satisfies ApiResponse)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "arckode-framework",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "AI-first TypeScript/Bun framework. Modular, SOLID, zero magic. The AI reads the composition root and knows everything.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./kernel/framework.ts",
|