Sha256: 28011060bce98a3acc9bc5d8f5addb3cabe732020ed3fed2e71122ec296bb6b0

Contents?: true

Size: 396 Bytes

Versions: 6

Compression:

Stored size: 396 Bytes

Contents

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

class HeadRule < Card::Migration::Core
  def up
    update_card :head, type_id: Card::SettingID
    ensure_card [:all, :head],
                type_id: Card::HTMLID,
                content: "{{*head|core}}"
    ensure_card [:head, :right, :help],
                content: "head tag content"
    ensure_card [:head, :right, :default], type_id: Card::HtmlID

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
card-1.98.3 db/migrate_core_cards/20180712042655_head_rule.rb
card-1.98.2 db/migrate_core_cards/20180712042655_head_rule.rb
card-1.98.1 db/migrate_core_cards/20180712042655_head_rule.rb
card-1.98.0 db/migrate_core_cards/20180712042655_head_rule.rb
card-1.97.0.1 db/migrate_core_cards/20180712042655_head_rule.rb
card-1.97.0 db/migrate_core_cards/20180712042655_head_rule.rb