SQLite Crie coluna inteira com limite

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