Code to create entire db schema on a fresh install (creates both tables and indexes).
Task [ENG-1592](https://linear.app/comm/issue/ENG-1592/sqlite-migrations-always-start-from-0)
Code is the same which is generated by an existing database created by the previous method so should be valid.
Added newlines to divide query into logical blocks but not sure if it is a good pattern here.