Added constants for SQLite data types.
Added terminal model and updated the example.