tthr 0.0.30 → 0.0.32

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 +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -188,7 +188,8 @@ async function deploySchemaToServer(projectId, token, schemaPath, dryRun) {
188
188
  sql,
189
189
  tables: tables.map((t) => ({
190
190
  name: t.name,
191
- source: t.source
191
+ source: t.source,
192
+ columns: t.columns
192
193
  }))
193
194
  })
194
195
  });
@@ -350,7 +351,7 @@ function getColumnSqlType(type) {
350
351
  case "boolean":
351
352
  return "INTEGER";
352
353
  case "json":
353
- return "TEXT";
354
+ return "JSON";
354
355
  default:
355
356
  return "TEXT";
356
357
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tthr",
3
- "version": "0.0.30",
3
+ "version": "0.0.32",
4
4
  "description": "Tether CLI - project scaffolding, migrations, and deployment",
5
5
  "type": "module",
6
6
  "bin": {