Sha256: ef6e4cf6962e8d54b6b5c8c021fc5b8e36b1d0c9b7cef141419553f92486ea42
Contents?: true
Size: 679 Bytes
Versions: 17
Compression:
Stored size: 679 Bytes
Contents
# -*- encoding : utf-8 -*- class AddModStylesCard < Cardio::Migration::Core def up ensure_card "style: mods", codename: "style_mods", type_id: Card::PointerID ensure_card "style: libraries", codename: "style_libraries", type_id: Card::PointerID ensure_card "script: libraries", codename: "script_libraries", type_id: Card::PointerID if (card = Card.fetch(:all, :script)) card.insert_item 4, "script: libraries" card.drop_item "script: select2" card.drop_item "script: load select2" card.save! end Card::Cache.reset_all end end
Version data entries
17 entries across 17 versions & 1 rubygems