Revert SQL changes required for 4febfe04

active_cursor and active_tab were required fields yet
no value is assigned in the sql templates.
I originally fixed this in 4febfe04f9c28ba584cdb08e9519277c80d5dff4
by allowing these fields to be NULL like the are for
Postgre & SQLite, however, this has implications for a very 
large database.  So instead, this commit assigns defaults
values to these unused columns