Skip to content

Commit c5357af

Browse files
committed
update: new version
1 parent 26aaac2 commit c5357af

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

migrate.Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
FROM node:20-alpine3.19
2-
WORKDIR /
3-
COPY . /
4-
RUN npm ci --production
5-
CMD npm run init && npm run migrate
1+
FROM node:20-alpine3.19
2+
WORKDIR /
3+
COPY . /
4+
RUN npm ci --production
5+
CMD npm run init

migrations/init/sqls/20241021055341-create-credit-tables-up.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
CREATE TABLE "CREDIT_PACKAGE" (
22
"id" serial PRIMARY KEY,
33
"name" varchar(50) NOT NULL,
4-
"cover_url" varchar(2048),
54
"credit_amount" integer NOT NULL,
65
"price" numeric(10,2) NOT NULL,
76
"created_at" timestamp NOT NULL DEFAULT (CURRENT_TIMESTAMP)

0 commit comments

Comments
 (0)