split upgrade.sql into more logical pieces
Merge branch 'devel' of dev.sourcefabric.org:airtime into devel