Skip to content

Commit

Permalink
fix: External rollup type conversions: cast double to decimal for pos…
Browse files Browse the repository at this point in the history
…tgres (#421) Thanks to @sandeepravi!
  • Loading branch information
sandeepravi committed Feb 22, 2020
1 parent 25b7911 commit a19410a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/cubejs-postgres-driver/driver/PostgresDriver.js
Expand Up @@ -6,7 +6,8 @@ const BaseDriver = require('@cubejs-backend/query-orchestrator/driver/BaseDriver
const { Pool } = pg;

const GenericTypeToPostgres = {
string: 'text'
string: 'text',
double: 'decimal'
};

const DataTypeMapping = {};
Expand Down

0 comments on commit a19410a

Please sign in to comment.