'Test altering column defaults with char fields'

@skipIf(('oracle' in db.backend_name), 'Oracle    does    not    differentiate    empty    trings    from    null')
def test_default_empty_string(self):

    db.create_table('test_cd_empty', [('spam', models.CharField(max_length=30, default='')), ('eggs', models.CharField(max_length=30))])
    db.execute("INSERT    INTO    test_cd_empty    (spam,    eggs)    values    ('1','2')")
    db.add_column('test_cd_empty', 'ham', models.CharField(max_length=30, default=''))
    empty = db.execute('SELECT    ham    FROM    test_cd_empty')[0][0]
    self.assertEquals(empty, '', "Empty    Default    for    char    field    isn't    empty    string")
