1. Apply [apolloportaldb-v080-v090.sql](https://github.com/ctripcorp/apollo/blob/master/scripts/sql/delta/v080-v090/apolloportaldb-v080-v090.sql) to ApolloPortalDB
2. Deploy v0.9.0 executables with the following sequences:
1. apollo-configservice
2. apollo-adminservice
3. apollo-portal
How to upgrade from spring-security-auth branch to v0.9.0
Some users may be using the [spring-security-auth](https://github.com/ctripcorp/apollo/tree/spring-security-auth) branch (which is based on v0.8.0) previously, here are some tips for those users if wishing to upgrade to v0.9.0.
Main part of the spring security authentication logic was migrated to v0.9.0, however, there are some schema changes:
1. Table `users` was renamed to `Users`
2. Table `authorities` was renamed to `Authorities`
3. A new field `Email` was added to table `Users`
4. The default admin user was changed back to `apollo`
Here are some tips on how to upgrade the schema:
1. If your database is table name case sensitive (lower-case-table-names=0)
* Apply [apolloportaldb-v080-v090.sql](https://github.com/ctripcorp/apollo/blob/master/scripts/sql/delta/v080-v090/apolloportaldb-v080-v090.sql) to ApolloPortalDB
* Migrate existing data from `users` and `authorities` to `Users` and `Authorities`
* Deploy v0.9.0 executables with the sequences mentioned above
2. If your database is table name case insensitive (lower-case-table-names=1 or 2)
* Add `Email` field to table `Users` manually according to [apolloportaldb-v080-v090.sql](https://github.com/ctripcorp/apollo/blob/master/scripts/sql/delta/v080-v090/apolloportaldb-v080-v090.sql)
* Create default admin user `apollo` if necessary
* Deploy v0.9.0 executables with the sequences mentioned above