mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-26 15:20:29 +01:00
2019-04-03 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rddbmgr(8) that broke schema reverting.
This commit is contained in:
@@ -18569,3 +18569,5 @@
|
||||
* Fixed a bug in rddbmgr(8) that caused SQL errors when updating
|
||||
the DB schema when used with the RDBMS system configured to
|
||||
disallow invalid datetime values.
|
||||
2019-04-03 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a bug in rddbmgr(8) that broke schema reverting.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// Revert Rivendell DB schema
|
||||
//
|
||||
// (C) Copyright 2018 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2018-2019 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
@@ -40,7 +40,7 @@ bool MainObject::RevertSchema(int cur_schema,int set_schema,QString *err_msg)
|
||||
|
||||
// NEW SCHEMA REVERSIONS GO HERE...
|
||||
|
||||
if((cur_schema==307)&&(set_schema>cur_schema)) {
|
||||
if((cur_schema==307)&&(set_schema<cur_schema)) {
|
||||
DropColumn("EVENTS","ARTIST_SEP");
|
||||
sql="alter table `EVENTS` modify column `TITLE_SEP` int(10) unsigned";
|
||||
if(!RDSqlQuery::apply(sql,err_msg)) {
|
||||
|
||||
Reference in New Issue
Block a user