Sqlite fix

Having these on one line gave a syntax error for me, saw a previous upgrade script where it was split into two, so figured this was a decent solution.