clhq-postgres-module 1.1.0-alpha.175 → 1.1.0-alpha.176
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.
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { MigrationInterface, QueryRunner } from 'typeorm';
|
|
2
|
+
export declare class AddKlingJobEnrichmentSettings1713000000007 implements MigrationInterface {
|
|
3
|
+
name: string;
|
|
4
|
+
up(queryRunner: QueryRunner): Promise<void>;
|
|
5
|
+
down(queryRunner: QueryRunner): Promise<void>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddKlingJobEnrichmentSettings1713000000007 = void 0;
|
|
4
|
+
class AddKlingJobEnrichmentSettings1713000000007 {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'AddKlingJobEnrichmentSettings1713000000007';
|
|
7
|
+
}
|
|
8
|
+
async up(queryRunner) {
|
|
9
|
+
await queryRunner.query(`
|
|
10
|
+
ALTER TABLE kling_generation_jobs
|
|
11
|
+
ADD COLUMN IF NOT EXISTS music_enabled BOOLEAN NOT NULL DEFAULT TRUE,
|
|
12
|
+
ADD COLUMN IF NOT EXISTS music_pacing VARCHAR(16) NOT NULL DEFAULT 'medium'
|
|
13
|
+
`);
|
|
14
|
+
}
|
|
15
|
+
async down(queryRunner) {
|
|
16
|
+
await queryRunner.query(`
|
|
17
|
+
ALTER TABLE kling_generation_jobs
|
|
18
|
+
DROP COLUMN IF EXISTS music_pacing,
|
|
19
|
+
DROP COLUMN IF EXISTS music_enabled
|
|
20
|
+
`);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.AddKlingJobEnrichmentSettings1713000000007 = AddKlingJobEnrichmentSettings1713000000007;
|