@dynamatix/gb-schemas 2.0.3 → 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.
@@ -1,6 +1,6 @@
1
1
  export class JobSettingEntity {
2
2
  id!: string;
3
- jobName!: string;
3
+ name!: string;
4
4
  isActive!: boolean;
5
5
  frequency!: string;
6
6
  jobParams!: any[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "2.0.3",
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",
@@ -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;
@@ -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
- jobName String @map("job_name")
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
- jobName String @map("job_name")
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")