I've bundled up sql upgrade scripts across versions from 1.30 to 2.40 into single script, if anyone needs it.
(as always, create db backup before executing script)

Tested on Sql server 2008 express.

Download link: http://bit.ly/xRPB16