Sha256: fe9a062ea4a2531a042406e480f103cb6eb10b5420f708b2cd0718a4f7f08520

Contents?: true

Size: 566 Bytes

Versions: 12

Compression:

Stored size: 566 Bytes

Contents

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

class AddGuides < Cardio::Migration
  GUIDE = <<-MD.strip_heredoc
    #### Editing Guide

    This default guide will appear in the full editor view of any card
    without more specific guidance.  You can use it to put forward principles of style,
    rules of conduct, or any other help text you think may be of use to persons editing
    content.

    Guide content can be edited in [[\\*guide\\|\\*guide rules]].
  MD

  def up
    ensure_card "*guide", codename: "guide", type_id: Card::SettingID
    Card::Cache.reset_all
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
card-1.104.2 db/migrate_core_cards/20190718140126_add_guides.rb
card-1.104.1 db/migrate_core_cards/20190718140126_add_guides.rb
card-1.104.0 db/migrate_core_cards/20190718140126_add_guides.rb
card-1.103.4 db/migrate_core_cards/20190718140126_add_guides.rb
card-1.103.3 db/migrate_core_cards/20190718140126_add_guides.rb
card-1.103.2 db/migrate_core_cards/20190718140126_add_guides.rb
card-1.103.1 db/migrate_core_cards/20190718140126_add_guides.rb
card-1.103.0 db/migrate_core_cards/20190718140126_add_guides.rb
card-1.101.7 db/migrate_core_cards/20190718140126_add_guides.rb
card-1.102.0 db/migrate_core_cards/20190718140126_add_guides.rb
card-1.101.6 db/migrate_core_cards/20190718140126_add_guides.rb
card-1.101.5 db/migrate_core_cards/20190718140126_add_guides.rb