Sha256: d1f5e552759ff5fe6afb77c49b16cba25ca3d256c963121daba5d5f13ed1586b

Contents?: true

Size: 644 Bytes

Versions: 5

Compression:

Stored size: 644 Bytes

Contents

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

class CleanupForDecko10 < Cardio::Migration::Core
  def up
    ensure_card "Cards with account", codename: "cards_with_account",
                                      content: '{"right_plus": "*account"}'

    %i[delete create update comment].each do |perm|
      delete_card [perm, :right, :options]
    end
    delete_card "*missing link"
    # delete_card "tags"
    delete_card "*tagged"
    merge_cards "*account"
    update_card! "*included by", name: "*nested by", codename: "nested_by"
    update_card! "*includes", name: "*nests", codename: "nests"
    ensure_card "*members", codename: "members"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
card-1.104.2 db/migrate_core_cards/20190823220018_cleanup_for_decko_1_0.rb
card-1.104.1 db/migrate_core_cards/20190823220018_cleanup_for_decko_1_0.rb
card-1.104.0 db/migrate_core_cards/20190823220018_cleanup_for_decko_1_0.rb
card-1.103.4 db/migrate_core_cards/20190823220018_cleanup_for_decko_1_0.rb
card-1.103.3 db/migrate_core_cards/20190823220018_cleanup_for_decko_1_0.rb