Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
113 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Upgrading Heya | ||
Heya adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), and | ||
should be considered unstable until version 1.0. | ||
|
||
## 0.0.4 | ||
If you're upgrading from Heya `<= 0.0.3`, you will need the following migration: | ||
|
||
``` | ||
class AddStepGidToHeyaCampaignMemberships < ActiveRecord::Migration[6.0] | ||
def up | ||
add_column :heya_campaign_memberships, :step_gid, :string | ||
Heya::CampaignMembership.migrate_next_step! | ||
change_column :heya_campaign_memberships, :step_gid, :string, null: false | ||
end | ||
def down | ||
remove_column :heya_campaign_memberships, :step_gid, :string | ||
end | ||
end | ||
``` | ||
|
||
See [CHANGELOG.md](./CHANGELOG.md) for more info. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
class FirstCampaign < Heya::Campaigns::Base | ||
step :one, subject: "First subject" | ||
step :two, subject: "Second subject" | ||
step :three, subject: "Third subject" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters