Update to sqlite create table

Now only creates the table if it does not exist.