'On Oracle, you can\'t simply ALTER TABLE MODIFY a textfield to a charfield'

def test_text_to_char(self):

    value = 'kawabanga'
    db.create_table('test_text_to_char', [('textcol', models.TextField())])
    db.execute_deferred_sql()
    db.execute('INSERT    INTO    test_text_to_char    VALUES    (%s)', [value])
    db.alter_column('test_text_to_char', 'textcol', models.CharField(max_length=100))
    db.execute_deferred_sql()
    after = db.execute('select    *    from    test_text_to_char')[0][0]
    self.assertEqual(value, after, ('Change    from    text    to    char    altered    value    [    %r    !=    %r    ]' % (value, after)))
