Use integer type in sqlite for bool purposes.
Update server.py to reflect changes in db.
Update view to reflect changes in db.