Skip to content

Commit 905ea9a

Browse files
Merge remote-tracking branch 'upstream/master'
2 parents 5c2d89b + 61d8526 commit 905ea9a

File tree

3 files changed

+24
-2
lines changed

3 files changed

+24
-2
lines changed

.github/workflows/build-native-packages-aarch64.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
strategy:
2424
fail-fast: false
2525
matrix:
26-
distro: ["debian:13", "debian:12", "ubuntu:22.04", "ubuntu:24.04"]
26+
distro: ["debian:sid", "debian:13", "debian:12", "ubuntu:25.10", "ubuntu:devel", "ubuntu:24.04", "ubuntu:22.04"]
2727
runs-on: self-hosted
2828

2929
container:

.github/workflows/build-native-packages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
strategy:
2424
fail-fast: false
2525
matrix:
26-
distro: ["debian:13", "debian:12", "ubuntu:22.04", "ubuntu:24.04"]
26+
distro: ["debian:sid", "debian:13", "debian:12", "ubuntu:25.10", "ubuntu:devel", "ubuntu:24.04", "ubuntu:22.04"]
2727
container:
2828
image: ${{ matrix.distro }}
2929

db/zm_update-1.37.76.sql

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,26 @@
11

2+
--
3+
-- This updates a 1.37.75 database to 1.37.76
4+
--
5+
-- Remove the orphaned MonitorIds column from the Users table.
6+
-- This field was removed from zm_create.sql.in but was never dropped
7+
-- for existing installations. Data was migrated to Monitors_Permissions
8+
-- table in zm_update-1.37.27.sql
9+
--
10+
11+
SET @s = (SELECT IF(
12+
(SELECT COUNT(*) FROM INFORMATION_SCHEMA.COLUMNS WHERE table_schema = DATABASE()
13+
AND table_name = 'Users'
14+
AND column_name = 'MonitorIds'
15+
) > 0
16+
,
17+
"ALTER TABLE Users DROP COLUMN MonitorIds",
18+
"SELECT 'Users MonitorIds column already removed.'"
19+
));
20+
21+
PREPARE stmt FROM @s;
22+
EXECUTE stmt;
23+
224
set @exist := (select count(*) from information_schema.statistics where table_name = 'Monitor_Status' and index_name = 'Monitor_Status_UpdatedOn_idx' and table_schema = database());
325
set @sqlstmt := if( @exist > 0, 'DROP INDEX Monitor_Status_UpdatedOn_idx ON Monitor_Status', "SELECT 'Monitor_Status_UpdatedOn_idx INDEX is already removed.'");
426
PREPARE stmt FROM @sqlstmt;

0 commit comments

Comments
 (0)