Skip to content

Commit

Permalink
Merge branch 'Dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
Arteha committed Dec 31, 2019
2 parents aa7067d + c1b7835 commit eeaed0c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "admin-bro-typeorm",
"version": "0.1.6-alpha.7",
"version": "0.1.6-alpha.8",
"description": "TypeORM adapter for AdminBro",
"keywords": [
"typeorm",
Expand Down
8 changes: 4 additions & 4 deletions src/utils/data-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ const NUMBER = [
"tinyint", "smallint", "mediumint", "int", "bigint",

// SimpleColumnType:
"int2", "integer", "int4", "int8", "int64", "unsigned big int", "float4", "float8"
"int2", "integer", "int4", "int8", "int64", "unsigned big int", "float4", "float8",

// WithPrecisionColumnType:
"float", "double", "dec", "decimal", "fixed", "numeric", "real", "double precision", "number"
];

const STRING = [
// SpatialColumnType:
"geometry", "geography",

// WithPrecisionColumnType:
"float", "double", "dec", "decimal", "fixed", "numeric", "real", "double precision", "number",

// WithLengthColumnType:
"character varying", "varying character", "char varying", "nvarchar", "national varchar", "character",
"native character", "varchar", "char", "nchar", "national char", "varchar2", "nvarchar2", "raw", "binary",
Expand Down

0 comments on commit eeaed0c

Please sign in to comment.