diff options
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/mysql-functions | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions index 2bc2fbe..799f2d2 100755 --- a/lib/mysql-functions +++ b/lib/mysql-functions @@ -376,8 +376,8 @@ mysql_generate_package_metadata() { printf '`type` VARCHAR(16),' printf '`install_target_name` VARCHAR(128),' printf '`version_relation` VARCHAR(2),' - printf '`version_epoch` MEDIUMINT,' - printf '`version_version` VARCHAR(64)' + printf '`install_target_epoch` MEDIUMINT,' + printf '`install_target_version` VARCHAR(64)' printf ');\n' printf 'LOAD DATA LOCAL INFILE "%s" INTO TABLE `links`;\n' \ "${temp_dir}/database-input" @@ -456,8 +456,8 @@ mysql_generate_package_metadata() { printf 'INSERT IGNORE INTO `versions` (`epoch`,`version`)' printf ' SELECT' - printf ' `links`.`version_epoch`,' - printf '`links`.`version_version`' + printf ' `links`.`install_target_epoch`,' + printf '`links`.`install_target_version`' printf ' FROM `links`;\n' for link in 'provides' 'makedepends' 'checkdepends' 'rundepends'; do |