mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-06-05 06:32:34 +02:00
2018-07-02 Fred Gleason <fredg@paravelsystems.com>
* Removed 'RDAIRPLAY.INSTANCE' field from schema update/reversion 284 in rddbmgr(8).
This commit is contained in:
parent
d9cec024c0
commit
913e27c304
@ -17076,3 +17076,6 @@
|
||||
* Fixed a bug in 'RDStation::create()' that threw SQL errors.
|
||||
2018-06-26 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Incremented the package version to v2.19.2vlog05.
|
||||
2018-07-02 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Removed 'RDAIRPLAY.INSTANCE' field from schema update/reversion
|
||||
284 in rddbmgr(8).
|
||||
|
@ -167,12 +167,13 @@ bool MainObject::RevertSchema(int cur_schema,int set_schema,QString *err_msg) co
|
||||
// Revert 284
|
||||
//
|
||||
if((cur_schema==284)&&(set_schema<cur_schema)) {
|
||||
/*
|
||||
sql=QString("alter table RDAIRPLAY add column INSTANCE int unsigned ")+
|
||||
"not null default 0 after STATION";
|
||||
if(!RDSqlQuery::apply(sql,err_msg)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
*/
|
||||
for(int i=9;i>=0;i--) {
|
||||
sql=QString("alter table RDAIRPLAY add column ")+
|
||||
QString().sprintf("STOP_RML%d char(255) after INSTANCE",i);
|
||||
|
@ -6939,11 +6939,12 @@ bool MainObject::UpdateSchema(int cur_schema,int set_schema,QString *err_msg) co
|
||||
}
|
||||
|
||||
if((cur_schema<284)&&(set_schema>cur_schema)) {
|
||||
/*
|
||||
sql=QString("alter table RDAIRPLAY drop column INSTANCE");
|
||||
if(!RDSqlQuery::apply(sql,err_msg)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
*/
|
||||
for(int i=0;i<10;i++) {
|
||||
sql=QString("alter table RDAIRPLAY ")+
|
||||
QString().sprintf("drop column CARD%d",i);
|
||||
|
Loading…
x
Reference in New Issue
Block a user