I donât know if this helps, and I donât know the consequences of you just copying this into your database, but if you have backups and are willing to take a risk, here is a copy of what that versions table looks like in a 7.12.5 installation I have:
-- phpMyAdmin SQL Dump
-- version 4.9.5deb2
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Jun 22, 2022 at 12:13 PM
-- Server version: 8.0.29-0ubuntu0.20.04.3
-- PHP Version: 7.3.29-1+ubuntu18.04.1+deb.sury.org+1
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `suitecrm`
--
-- --------------------------------------------------------
--
-- Table structure for table `versions`
--
CREATE TABLE `versions` (
`id` char(36) NOT NULL,
`deleted` tinyint(1) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`file_version` varchar(255) DEFAULT NULL,
`db_version` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
--
-- Dumping data for table `versions`
--
INSERT INTO `versions` (`id`, `deleted`, `date_entered`, `date_modified`, `modified_user_id`, `created_by`, `name`, `file_version`, `db_version`) VALUES
('c3d3aa65-6d13-9565-689b-5731f9e38f49', 0, '2016-05-10 15:09:12', '2016-05-10 15:09:12', '1', '1', 'Rebuild Relationships', '4.0.0', '4.0.0'),
('d74c8489-d458-697e-9dae-5731f9de3c6c', 0, '2016-05-10 15:09:12', '2016-05-10 15:09:12', '1', '1', 'Rebuild Extensions', '4.0.0', '4.0.0'),
('de8b0f7c-410c-14df-8a6e-54c74bbf0ec5', 0, '2015-01-27 08:27:15', '2015-01-27 08:27:15', '1', '1', 'Chart Data Cache', '3.5.1', '3.5.1'),
('e22a292a-7795-6b70-630f-54c74b6c7a5f', 0, '2015-01-27 08:27:15', '2015-01-27 08:27:15', '1', '1', 'htaccess', '3.5.1', '3.5.1');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `versions`
--
ALTER TABLE `versions`
ADD PRIMARY KEY (`id`),
ADD KEY `idx_version` (`name`,`deleted`);
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
My database is called suitecrm, yours apparently is called dbname_scrm2, remember to change that.