Added support for duration-based coupons (i.e. bonus months)

Database schema changes and cleanup to support bonus month coupons
Model changes to support new db schema
Increment Rails version to 3.2.17
Increment gem version to 1.0.0

unsubscribe


On Mon, Jun 30, 2014 at 3:09 PM, Dave Knapik <notifications@github.com>
wrote:

> In
> db/migrate/20140616155738_add_unique_index_on_code_and_valid_duration.rb:
>
> > @@ -0,0 +1,5 @@
> > +class AddUniqueIndexOnCodeAndValidDuration < ActiveRecord::Migration
> > +  def change
> > +    add_index :couponable_coupons, [:code, :valid_duration], unique: true
>
> Rewrite with concurrency as a SQL query to avoid locking
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/barkbox/couponable/pull/8/files#r14369024>.
>



-- 
*Robert L. Proietto VMD, MS*
*Medical Director*
*www.BarkCare.com <http://www.BarkCare.com>*