Going from text to clob is not something we do.

Also Oracle DB has problems with this, see
http://abhijitbashetti.blogspot.de/2011/10/converting-varchar2-to-clob-and-clob-to.html
This commit is contained in:
Bart Visscher 2013-06-28 16:07:22 +02:00 committed by Jörn Friedrich Dreyer
parent 66e1eaac93
commit c80e76720f
2 changed files with 2 additions and 7 deletions

View File

@ -49,8 +49,9 @@
<field>
<name>description</name>
<type>clob</type>
<type>text</type>
<notnull>false</notnull>
<length>1024</length>
</field>
<field>

View File

@ -53,12 +53,6 @@ class Test_DBSchema extends PHPUnit_Framework_TestCase {
}
public function doTestSchemaChanging() {
if (OC_Config::getValue( 'dbtype', 'sqlite' ) === 'oci') {
$this->markTestSkipped(
// see http://abhijitbashetti.blogspot.de/2011/10/converting-varchar2-to-clob-and-clob-to.html
'Oracle does not simply ALTER a VARCHAR into a CLOB.'
);
}
OC_DB::updateDbFromStructure($this->schema_file2);
$this->assertTableExist($this->table2);
}