Optimise schema creation where SQLite is used