@dynamatix/gb-schemas 2.0.2 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamatix/gb-schemas",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "All the schemas for gatehouse bank back-end",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"generate-docs": "NODE_OPTIONS='--loader ts-node/esm' ts-node schema-docs/docs.seeder.ts",
|
|
12
12
|
"combine-schemas": "node scripts/combine-schemas.js",
|
|
13
13
|
"migrate": "npm run combine-schemas && prisma migrate dev",
|
|
14
|
-
"postinstall": "prisma generate"
|
|
14
|
+
"postinstall": "npx prisma generate"
|
|
15
15
|
},
|
|
16
16
|
"repository": {
|
|
17
17
|
"type": "git",
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Warnings:
|
|
3
|
+
|
|
4
|
+
- You are about to drop the column `job_name` on the `job_settings` table. All the data in the column will be lost.
|
|
5
|
+
- Added the required column `name` to the `job_settings` table without a default value. This is not possible if the table is not empty.
|
|
6
|
+
|
|
7
|
+
*/
|
|
8
|
+
-- AlterTable
|
|
9
|
+
ALTER TABLE "job_settings" DROP COLUMN "job_name",
|
|
10
|
+
ADD COLUMN "name" TEXT NOT NULL;
|
package/prisma/schema.prisma
CHANGED
|
@@ -83,7 +83,7 @@ model JobRun {
|
|
|
83
83
|
// From prisma/shared/job-setting.prisma
|
|
84
84
|
model JobSetting {
|
|
85
85
|
id String @id @default(uuid())
|
|
86
|
-
|
|
86
|
+
name String @map("name")
|
|
87
87
|
isActive Boolean @default(true) @map("is_active")
|
|
88
88
|
frequency String @default("2 hours") @map("frequency")
|
|
89
89
|
jobParams Json @default("{}") @map("job_params")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
model JobSetting {
|
|
2
2
|
id String @id @default(uuid())
|
|
3
|
-
|
|
3
|
+
name String @map("name")
|
|
4
4
|
isActive Boolean @default(true) @map("is_active")
|
|
5
5
|
frequency String @default("2 hours") @map("frequency")
|
|
6
6
|
jobParams Json @default("{}") @map("job_params")
|