2018-11-16 Fred Gleason <fredg@paravelsystems.com>

* Modified the 298 => 299 schema change in rddbmgr(8) to use the
	new method for dropping a DB field.
This commit is contained in:
Fred Gleason 2018-11-16 10:06:42 -05:00
parent 3ae1e1995f
commit 6ca773e21d
2 changed files with 4 additions and 3 deletions

View File

@ -18025,3 +18025,6 @@
* Added a 'CART_SCHED_CODES' table to the database.
* Removed 'SCHED_CODES' field from 'CART'
* Incremented the database version to 299.
2018-11-16 Fred Gleason <fredg@paravelsystems.com>
* Modified the 298 => 299 schema change in rddbmgr(8) to use the
new method for dropping a DB field.

View File

@ -9584,9 +9584,7 @@ bool MainObject::UpdateSchema(int cur_schema,int set_schema,QString *err_msg)
}
}
delete q;
q=new RDSqlQuery("alter table CART drop column SCHED_CODES",false);
delete q;
DropColumn("CART","SCHED_CODES");
WriteSchemaVersion(++cur_schema);
}