Skip to content

Commit b6c8cd2

Browse files
committed
feat: update tables column types to ['NUMBER', 'TEXT', 'BINARY']
1 parent 4193bfa commit b6c8cd2

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/utils/constant.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,11 @@ export const USER_PERMISSION = {
1919

2020
export const CANCEL_REQUEST_MESSAGE = 'cancel request'
2121

22-
// Table column data type (sqlite)
23-
export const DATA_TYPES = ['INTEGER', 'TEXT', 'REAL', 'BLOB']
22+
// Table column data type
23+
// NUMBER => INTEGER & REAL in sqlite
24+
// TEXT => TEXT in sqlite
25+
// BINARY => BLOB in sqlite
26+
export const DATA_TYPES = ['NUMBER', 'TEXT', 'BINARY']
2427

2528
// Project user states
2629
export const USER_STATES = ['Enabled', 'Disabled']

0 commit comments

Comments
 (0)