Migrated to new database creation & upgrade scripts