Sha256: 3e48233e012735da2a36d175b02283bbcb10eb976e18c78e4ef1a7cd71fc6fa0

Contents?: true

Size: 262 Bytes

Versions: 1

Compression:

Stored size: 262 Bytes

Contents

class AddSubscriberColumnToUsers < ActiveRecord::Migration
  def self.up
    add_column :spree_users, :is_mail_list_subscriber, :boolean, :null => false, :default => false
  end

  def self.down
    remove_column :spree_users, :is_mail_list_subscriber
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_mail_chimp-3.0.2 db/migrate/20101102200125_add_subscriber_column_to_users.rb