From a344b2edad2d12a6ab21da16ec17524c453e7466 Mon Sep 17 00:00:00 2001 From: jgrau Date: Thu, 25 May 2017 09:08:37 +0200 Subject: [PATCH] Add upgrade guide --- UPGRADE_GUIDE.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 UPGRADE_GUIDE.md diff --git a/UPGRADE_GUIDE.md b/UPGRADE_GUIDE.md new file mode 100644 index 0000000..b0a1435 --- /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.