'Test that under Oracle, CherFields are created as null even when specified not-null,
because otherwise they would not be able to hold empty strings (which Oracle equates
with nulls).
Verify fix of #1269.'

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

    db.create_table('test_ora_char_nulls', [('spam', models.CharField(max_length=30, null=True)), ('eggs', models.CharField(max_length=30))])
    db.add_column('test_ora_char_nulls', 'ham', models.CharField(max_length=30))
    db.alter_column('test_ora_char_nulls', 'spam', models.CharField(max_length=30, null=False))
    db.execute('INSERT    INTO    test_ora_char_nulls    VALUES    (NULL,    NULL,    NULL)')
