Sha256: d92c915986cc05d6414581acb0d4e5db3fe8721faab404b0af41e9bed13e2c23
Contents?: true
Size: 856 Bytes
Versions: 2
Compression:
Stored size: 856 Bytes
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_card! name: '*cached count', codename: :cached_count, subcards: { '+*right+*update'=>'[[Administrator]]', '+*right+*create'=>'[[Administrator]]', '+*right+*delete'=>'[[Administrator]]' } create_card! name: '*cached content', codename: :cached_content, subcards: { '+*right+*update'=>'[[Administrator]]', '+*right+*create'=>'[[Administrator]]', '+*right+*delete'=>'[[Administrator]]' } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
card-1.16.10 | db/migrate_core_cards/20150708224756_add_list_cards.rb |
card-1.16.9 | db/migrate_core_cards/20150708224756_add_list_cards.rb |