sqlite membuat kolom integer dengan batas

create table . . .
    check (phonenum between 0 and 99999);
Lioruby