feat(server): add data migration system

This commit is contained in:
forehalo committed 2023-10-30 11:12:09 +08:00
1 parent ae6376edee
commit 98d0ac3c90
11 files changed
+466 -67

No files matched your search

@@ -16,7 +16,7 @@ spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
command: ["yarn", "prisma", "migrate", "deploy"]
command: ["yarn", "predeploy"]
env:
- name: NODE_ENV
value: "{{ .Values.env }}"