Skip to content

Commit

Permalink
refactor: data type in column schemas (#424)
Browse files Browse the repository at this point in the history
* refactor: data type in solumn schemas

* fix: data type
  • Loading branch information
ZonaHex authored Apr 8, 2024
1 parent 6dd3e35 commit 3427a99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/modules/database/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const useDataBaseStore = defineStore('database', () => {
return schema.name === 'column_name'
})
const dataTypeIndex = columnSchemas.findIndex((schema: SchemaType) => {
return schema.name === 'data_type'
return schema.name === 'greptime_data_type' || schema.name === 'data_type'
})

const semanticTypeIndex = columnSchemas.findIndex((schema: SchemaType) => {
Expand Down

0 comments on commit 3427a99

Please sign in to comment.