Skip to content

Commit

Permalink
update 'prelaunch_signup' recipe with migration for 'opt-in' field
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielKehoe committed Jun 26, 2012
1 parent 3bcfb36 commit b8f9125
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.textile
@@ -1,5 +1,9 @@
h1. CHANGELOG

h2. 1.5.3 unreleased

* update 'prelaunch_signup' recipe with migration for 'opt-in' field

h2. 1.5.2 June 10, 2012

* add 'prelaunch_signup' recipe
Expand Down
5 changes: 5 additions & 0 deletions recipes/prelaunch_signup.rb
Expand Up @@ -310,6 +310,11 @@
end
end

# >------------------------------[ Migrations ]-------------------------------<
after_bundler do
generate 'migration AddOptinToUsers opt_in:boolean'
end

# >-----------------------------[ SeedDatabase ]------------------------------<
after_bundler do
say_wizard "SeedDatabase recipe running 'after bundler'"
Expand Down

0 comments on commit b8f9125

Please sign in to comment.