diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b1babeaa4d..43e933535a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -63,13 +63,13 @@ Read more about the session argument for computed fields in the [docs](https://h - server: fix explain queries with role permissions (fix #4816) - server: compile with GHC 8.10.1, closing a space leak with subscriptions. (close #4517) (#3388) - - server: fixes an issue where introspection queries with variables would fail because of caching (fix #4547) - server: avoid loss of precision when passing values in scientific notation (fix #4733) - server: fix mishandling of GeoJSON inputs in subscriptions (fix #3239) - server: fix importing of allow list query from metadata (fix #4687) - server: flush log buffer during shutdown (#4800) - server: fix edge case with printing logs on startup failure (fix #4772) +- console: allow entering big int values in the console (close #3667) (#4775) - console: avoid count queries for large tables (#4692) - console: add read replica support section to pro popup (#4118) - console: allow modifying default value for PK (fix #4075) (#4679) diff --git a/console/src/components/Services/Data/TableInsertItem/InsertActions.js b/console/src/components/Services/Data/TableInsertItem/InsertActions.js index ab9927e70b3..7d1aa3e49fa 100644 --- a/console/src/components/Services/Data/TableInsertItem/InsertActions.js +++ b/console/src/components/Services/Data/TableInsertItem/InsertActions.js @@ -1,6 +1,6 @@ import Endpoints, { globalCookiePolicy } from '../../../../Endpoints'; import requestAction from 'utils/requestAction'; -import { Integers, Reals } from '../constants'; +import { Reals } from '../constants'; import { showErrorNotification, @@ -39,10 +39,7 @@ const insertItem = (tableName, colValues) => { Object.keys(colValues).map(colName => { const colSchema = columns.find(x => x.column_name === colName); const colType = colSchema.data_type; - if (Integers.indexOf(colType) > 0) { - insertObject[colName] = - parseInt(colValues[colName], 10) || colValues[colName]; - } else if (Reals.indexOf(colType) > 0) { + if (Reals.indexOf(colType) > 0) { insertObject[colName] = parseFloat(colValues[colName], 10) || colValues[colName]; } else if (colType === 'boolean') {