Sha256: c09f2ca185ac84719a5315b7dfe8eeef4f231db7da287eee25a1a8cecb8d9470
Contents?: true
Size: 1.03 KB
Versions: 17
Compression:
Stored size: 1.03 KB
Contents
# -*- encoding : utf-8 -*- class AddListCards < Card::CoreMigration def up create_card! name: 'List', codename: :list, type_code: :cardtype create_card! name: 'Listed by', codename: :listed_by, type_code: :cardtype create_or_update name: '*cached count', codename: :cached_count, rename_if_conflict: false, subcards: { '+*right+*update' => '[[Administrator]]', '+*right+*create' => '[[Administrator]]', '+*right+*delete' => '[[Administrator]]' } create_or_update name: '*cached content', codename: :cached_content, rename_if_conflict: false, subcards: { '+*right+*update' => '[[Administrator]]', '+*right+*create' => '[[Administrator]]', '+*right+*delete' => '[[Administrator]]' } end end
Version data entries
17 entries across 17 versions & 1 rubygems