Add upgrade guide

This commit is contained in:
jgrau 2017-05-25 09:08:37 +02:00
parent a765bd17ae
commit a344b2edad
No known key found for this signature in database
GPG Key ID: 701FB978EB0E2A61
1 changed files with 13 additions and 0 deletions

13
UPGRADE_GUIDE.md Normal file
View File

@ -0,0 +1,13 @@
# Upgrade guide
## v1.5.1 -> v1.5.2
Version 1.5.2 adds are new column to the `impressions` table. If you're on v1.5.1 you need to manually add the new column using
```
add_column :impressions, :params, :text
add_index :impressions, [:impressionable_type, :impressionable_id, :params], :name => "poly_params_request_index", :unique => false
```
before upgrading.