Sha256: 11ff72fca9a3f18c7ee1c293dda847fd10fcf70fe84e143c98296cdc745b6c5e

Contents?: true

Size: 534 Bytes

Versions: 5

Compression:

Stored size: 534 Bytes

Contents

# -*- encoding : utf-8 -*-

class AddRecentSettingSessionCard < Card::CoreMigration
  def up
    Card.create!(
      name: '*recent settings',
      codename: 'recent_settings',
      type_code: :pointer,
      subcards: {
        '+*self+*options' => { type_code: :search_type,
                               content: '{"type":"setting"}' },
        '+*self+*update'  => { content: '[[Anyone]]' },
        '+*self**create'  => { content: '[[Anyone]]' },
        '+*self**read'    => { content: '[[Anyone]]' }
      }
    )
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
card-1.18.6 db/migrate_core_cards/20150601133433_add_recent_setting_session_card.rb
card-1.18.5 db/migrate_core_cards/20150601133433_add_recent_setting_session_card.rb
card-1.18.4 db/migrate_core_cards/20150601133433_add_recent_setting_session_card.rb
card-1.18.3 db/migrate_core_cards/20150601133433_add_recent_setting_session_card.rb
card-1.18.2 db/migrate_core_cards/20150601133433_add_recent_setting_session_card.rb