Skip to content

Commit 35adfd1

Browse files
Merge pull request #2559 from taozhi8833998/upgrade-version
refactor: upgrade version
2 parents 9f81905 + db9c99d commit 35adfd1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

ast/postgresql.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ export type create_table_definition = create_definition[];
284284

285285
export type create_definition = create_column_definition | create_index_definition | create_fulltext_spatial_index_definition | create_constraint_definition;
286286

287-
export type column_definition_opt = column_constraint | { auto_increment: 'auto_increment'; } | { unique: 'unique' | 'unique key'; } | { unique: 'key' | 'primary key'; } | { comment: keyword_comment; } | { collate: collate_expr; } | { column_format: column_format; } | { storage: storage } | { reference_definition: reference_definition; } | { check: check_constraint_definition; } | { character_set: { type: 'CHARACTER SET'; symbol: '=' | null; value: ident_without_kw_type; } };
287+
export type column_definition_opt = column_constraint | { auto_increment: 'auto_increment'; } | { unique: 'unique' | 'unique key'; } | { unique: 'key' | 'primary key'; } | { comment: keyword_comment; } | { generated_by_default: { type: 'origin', value: string } } | { collate: collate_expr; } | { column_format: column_format; } | { storage: storage } | { reference_definition: reference_definition; } | { check: check_constraint_definition; } | { character_set: { type: 'CHARACTER SET'; symbol: '=' | null; value: ident_without_kw_type; } };
288288

289289

290290

@@ -1719,6 +1719,8 @@ type KW_SMALLINT = never;
17191719

17201720
type KW_SERIAL = never;
17211721

1722+
type KW_SMALLSERIAL = never;
1723+
17221724
type KW_TINYINT = never;
17231725

17241726
type KW_TINYTEXT = never;

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-sql-parser",
3-
"version": "5.3.11",
3+
"version": "5.3.12",
44
"description": "simple node sql parser",
55
"main": "index.js",
66
"types": "types.d.ts",
@@ -56,7 +56,6 @@
5656
"devDependencies": {
5757
"@babel/cli": "^7.5.5",
5858
"@babel/core": "^7.10.5",
59-
6059
"@babel/preset-env": "^7.10.4",
6160
"@babel/register": "^7.10.5",
6261
"@types/chai": "^4.1.7",

0 commit comments

Comments
 (0)