mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-17 16:11:12 +02:00
2019-04-23 Fred Gleason <fredg@paravelsystems.com>
* Added a 'STACK_SCHED_CODES' table to the database. * Dropped the 'STACK_LINES.SCHED_CODES' field from the database. * Incremented the database version to 308. * Renamed the 'SchedCartList' class to 'RDSchedCartList' and refactored it to be idiomatic Qt. * Renamed the 'SchedRulesList' class to 'RDSchedRulesList'.
This commit is contained in:
@@ -434,6 +434,14 @@ bool MainObject::DropColumn(const QString &tbl_name,const QString &col_name,
|
||||
}
|
||||
|
||||
|
||||
bool MainObject::DropIndex(const QString &tbl_name,const QString &idx_name,
|
||||
QString *err_msg) const
|
||||
{
|
||||
QString sql=QString("alter table `")+tbl_name+"` drop index `"+idx_name+"`";
|
||||
return RDSqlQuery::apply(sql,err_msg);
|
||||
}
|
||||
|
||||
|
||||
int main(int argc,char *argv[])
|
||||
{
|
||||
QApplication a(argc,argv,false);
|
||||
|
Reference in New Issue
Block a user