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:
parent
66e1eaac93
commit
c80e76720f
|
@ -49,8 +49,9 @@
|
|||
|
||||
<field>
|
||||
<name>description</name>
|
||||
<type>clob</type>
|
||||
<type>text</type>
|
||||
<notnull>false</notnull>
|
||||
<length>1024</length>
|
||||
</field>
|
||||
|
||||
<field>
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue