@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.
package/package.json
CHANGED
|
@@ -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")
|