diff --git a/UPGRADE_GUIDE.md b/UPGRADE_GUIDE.md new file mode 100644 index 00000000..b0a14352 --- /dev/null +++ b/UPGRADE_GUIDE.md @@ -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.