Update database schema to include unique keys

Slightly updated the basic db schema setup to include unique columns;
this required some columns to be converted to the 'varchar' type. This presents some security benefits (i.e. queries would fail should a required column, such as 'access_token', not be present), and allows inline editing features in phpMyAdmin.