From 8934f80d7e6c99a24743bc91bc0427984c6af6d6 Mon Sep 17 00:00:00 2001 From: taozhi8833998 Date: Sun, 2 Jun 2024 08:41:28 +0800 Subject: [PATCH] refactor: upgrade version --- ast/postgresql.ts | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ast/postgresql.ts b/ast/postgresql.ts index a995798c..c9ba16f2 100644 --- a/ast/postgresql.ts +++ b/ast/postgresql.ts @@ -50,7 +50,7 @@ export type create_db_stmt_t = { type: 'create', keyword: 'database' | 'schema', if_not_exists?: 'if not exists', - database: string, + database: ident_without_kw_type, create_definitions?: create_db_definition } diff --git a/package.json b/package.json index b81f35dd..c9ab1fdd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-sql-parser", - "version": "5.1.0", + "version": "5.2.0", "description": "simple node sql parser", "main": "index.js", "types": "types.d.ts",