Updated template.

Correctly set type in SQLite DB.