@axium/server 0.36.1 → 0.36.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.
Files changed (2) hide show
  1. package/dist/database.js +1 -1
  2. package/package.json +1 -1
package/dist/database.js CHANGED
@@ -738,7 +738,7 @@ export async function applyDelta(delta, forceAbort = false) {
738
738
  }
739
739
  for (const [colName, column] of Object.entries(tableDelta.alter_columns)) {
740
740
  if (column.default)
741
- await query.alterColumn(colName, col => col.setDefault(sql.raw(column.default))).execute();
741
+ await query.alterColumn(colName, col => col.setDefault(column.default)).execute();
742
742
  if (column.type)
743
743
  await query.alterColumn(colName, col => col.setDataType(sql.raw(column.type))).execute();
744
744
  for (const op of column.ops ?? []) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axium/server",
3
- "version": "0.36.1",
3
+ "version": "0.36.2",
4
4
  "author": "James Prevett <axium@jamespre.dev>",
5
5
  "funding": {
6
6
  "type": "individual",