Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Nov 30, 2024
1 parent 7ee2846 commit 6871ad0
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ jobs:

steps:
- name: Checkout Git Source
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

Expand Down Expand Up @@ -98,10 +98,10 @@ jobs:

steps:
- name: Checkout Git Source
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

Expand Down Expand Up @@ -149,10 +149,10 @@ jobs:

steps:
- name: Checkout Git Source
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:22
FROM node:20

# Create app directory
WORKDIR /usr/src/app
Expand Down
2 changes: 1 addition & 1 deletion prepare-database-postgresql.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
db_host=${POSTGRES_HOST:-}
db_port=${POSTGRES_PORT:-5432}
db_username=${POSTGRES_USER:-}
db_password=${POSTGRES_PASSWORD:-postgres} # default to empty password
db_password=${POSTGRES_PASSWORD:-} # default to empty password
db_name=${CNPMCORE_DATABASE_NAME:-cnpmcore_unittest}

# prepare PostgreSQL param
Expand Down
2 changes: 1 addition & 1 deletion sql/ddl_postgresql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ COMMENT ON COLUMN hooks.enable IS 'hook is enable not, 1: true, other: false';

CREATE TABLE maintainers (
id BIGSERIAL PRIMARY KEY,
gmt_create timestamp NOT NULL,
gmt_create timestamp(3) NOT NULL,
gmt_modified timestamp(3) NOT NULL,
package_id varchar(24) NOT NULL,
user_id varchar(24) NOT NULL
Expand Down
2 changes: 1 addition & 1 deletion sql/postgresql/3.68.0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ COMMENT ON COLUMN hooks.enable IS 'hook is enable not, 1: true, other: false';

CREATE TABLE maintainers (
id BIGSERIAL PRIMARY KEY,
gmt_create timestamp NOT NULL,
gmt_create timestamp(3) NOT NULL,
gmt_modified timestamp(3) NOT NULL,
package_id varchar(24) NOT NULL,
user_id varchar(24) NOT NULL
Expand Down

0 comments on commit 6871ad0

Please sign in to comment.