/*
 * Add TelemetryUsageBilling.serviceType — the resource-type discriminator
 * for a usage row (OpenTelemetry / Host / DockerHost / KubernetesCluster /
 * Unknown). Lets the usage breakdown attribute ingestion to the kind of
 * resource that produced it, now that non-Service telemetry is metered.
 * Nullable; legacy rows (all real Services) are treated as OpenTelemetry.
 */
export class MigrationName1780382837019 {
    constructor() {
        this.name = "MigrationName1780382837019";
    }
    async up(queryRunner) {
        await queryRunner.query(`ALTER TABLE "TelemetryUsageBilling" ADD COLUMN IF NOT EXISTS "serviceType" character varying(100)`);
    }
    async down(queryRunner) {
        await queryRunner.query(`ALTER TABLE "TelemetryUsageBilling" DROP COLUMN IF EXISTS "serviceType"`);
    }
}
//# sourceMappingURL=1780382837019-MigrationName.js.map