@axium/server 0.36.3 → 0.36.4

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
@@ -695,7 +695,7 @@ function columnFromSchema(column, allowPK) {
695
695
  if (column.onDelete)
696
696
  col = col.onDelete(column.onDelete);
697
697
  if ('default' in column)
698
- col = col.defaultTo(sql.raw(column.default));
698
+ col = col.defaultTo(column.default);
699
699
  if (column.check)
700
700
  col = col.check(sql.raw(column.check));
701
701
  return col;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axium/server",
3
- "version": "0.36.3",
3
+ "version": "0.36.4",
4
4
  "author": "James Prevett <axium@jamespre.dev>",
5
5
  "funding": {
6
6
  "type": "individual",