Sha256: 243a65073f4a532dea216803eeaca79871fe7731d15d9d93bee59f4804c28ac8
Contents?: true
Size: 841 Bytes
Versions: 3
Compression:
Stored size: 841 Bytes
Contents
class ScideaHsfcPolicies01Install < ActiveRecord::Migration def up Setting.find_or_create_by_name(:name => 'Registration: Privacy Policy URL (en)', :value => '#') Setting.find_or_create_by_name(:name => 'Registration: Privacy Policy URL (fr)', :value => '#') Setting.find_or_create_by_name(:name => 'Registration: Terms and Conditions URL (en)', :value => '#') Setting.find_or_create_by_name(:name => 'Registration: Terms and Conditions URL (fr)', :value => '#') end def down Setting.where(:name => 'Registration: Privacy Policy URL (en)').destroy_all Setting.where(:name => 'Registration: Privacy Policy URL (fr)').destroy_all Setting.where(:name => 'Registration: Terms and Conditions URL (en)').destroy_all Setting.where(:name => 'Registration: Terms and Conditions URL (fr)').destroy_all end end
Version data entries
3 entries across 3 versions & 1 rubygems