Browse Source

fix: avoid treating `CURRENT_TIMESTAMP` as string

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/6767/head
Pranav C 1 year ago
parent
commit
f283f7233a
  1. 8
      packages/nocodb/src/db/sql-client/lib/sqlite/SqliteClient.ts

8
packages/nocodb/src/db/sql-client/lib/sqlite/SqliteClient.ts

@ -2198,6 +2198,14 @@ class SqliteClient extends KnexClient {
} }
return result; return result;
} }
genValue(value): any {
if (value === 'CURRENT_TIMESTAMP') {
return value;
}
return super.genValue(value);
}
} }
export default SqliteClient; export default SqliteClient;

Loading…
Cancel
Save