Sha256: e6ef0bef9a88bf7b26dcefa2b3b0385b7cebd0a24291aab17f379fff64a99c5c
Contents?: true
Size: 573 Bytes
Versions: 60
Compression:
Stored size: 573 Bytes
Contents
# -*- encoding : utf-8 -*- class AccountEvents < Card::Migration::Core def up aa = Card.fetch :signup, :type, :accountable, new: {} aa.content = "1" aa.save! role_right = "#{Card[:roles].name}+#{Card[:right].name}" r_options = Card.fetch role_right, :options, new: {} r_options.type_id = Card::SearchTypeID r_options.content = %({"type":"role", "not":{"codename":["in","anyone","anyone_signed_in"]}}) r_options.save! r_input = Card.fetch role_right, :input, new: {} r_input.content = "[[checkbox]]" r_input.save! end end
Version data entries
60 entries across 60 versions & 1 rubygems