create upgrade script 2.2 -> 3.0 for PostgreSQL