Some history and alarm table need a primary key to comply with mysql innodb cluster (Group Replication)
Add an option to create auto increment pk for table without pk. See forum link attached.