Release v2.13.1
Publish Docker Image / build-and-push-existing-registry (./build/Dockerfile, web, pulse-signage-web) (push) Successful in 1m15s
Publish Docker Image / build-and-push-existing-registry (./build/Dockerfile.player, player, pulse-signage-player) (push) Successful in 32s

This commit is contained in:
2026-09-11 20:46:37 +01:00
parent 0a03cdd0b7
commit 394d23bb4d
47 changed files with 2408 additions and 559 deletions
+31
View File
@@ -621,6 +621,37 @@ const VERSIONED_MIGRATIONS = [
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
`);
}
},
{
version: '2.13.0',
label: 'v2.13.0 media library schema',
run: async function (pool) {
await pool.query(`
CREATE TABLE IF NOT EXISTS c_media_assets (
id BIGINT AUTO_INCREMENT PRIMARY KEY,
media_path VARCHAR(512) NOT NULL UNIQUE,
original_name VARCHAR(255) NOT NULL,
media_type VARCHAR(16) NOT NULL,
mime_type VARCHAR(128) NOT NULL,
file_size BIGINT UNSIGNED NOT NULL DEFAULT 0,
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
created_by INT NULL,
modified_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
modified_by INT NULL,
INDEX idx_c_media_assets_type (media_type),
INDEX idx_c_media_assets_created_at (created_at)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
`);
}
},
{
version: '2.13.1',
label: 'v2.13.1 pending media upload visibility',
run: async function (pool) {
if (!(await columnExists(pool, 'c_media_assets', 'is_published'))) {
await pool.query('ALTER TABLE c_media_assets ADD COLUMN is_published TINYINT(1) NOT NULL DEFAULT 1 AFTER file_size');
}
}
}
];