Field default value in console

Hi,

I’m using sqlite3, I found a strange behavior of the rails console.

I have created a table like this:
create table( f1 integer not null)

In the rails console, after inserted a new record, the value of f1 is
set to 0, but I think it should be null.

Thank you.
WWG