mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-09-18 17:20:57 +02:00
Change RDLOGEDIT INPUT_CARD and OUTPUT_CARD defaults to 0 to match RDLIBRARY
This commit is contained in:
parent
27596f2897
commit
c385827e46
@ -9161,6 +9161,18 @@ bool MainObject::UpdateSchema(int cur_schema,int set_schema,QString *err_msg)
|
||||
return false;
|
||||
}
|
||||
|
||||
sql=QString("alter table RDLOGEDIT ")+
|
||||
"modify column INPUT_CARD int(11) default 0";
|
||||
if(!RDSqlQuery::apply(sql,err_msg)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
sql=QString("alter table RDLOGEDIT ")+
|
||||
"modify column OUTPUT_CARD int(11) default 0";
|
||||
if(!RDSqlQuery::apply(sql,err_msg)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
sql=QString("alter table RDLOGEDIT ")+
|
||||
"modify column STATION varchar(64) not null";
|
||||
if(!RDSqlQuery::apply(sql,err_msg)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user