Sha256: d94741d441c2f0348479f9c64e279941b3e37d3e1d6ee53615f3bae17ce512c0
Contents?: true
Size: 536 Bytes
Versions: 10
Compression:
Stored size: 536 Bytes
Contents
class CreateAccordionWidget < ::Scrivito::Migration def up Scrivito::ObjClass.create( name: 'AccordionWidget', is_binary: false, attributes: [ { name: 'panels', type: :widget, }, ] ) Scrivito::ObjClass.create( name: 'AccordionPanelWidget', is_binary: false, attributes: [ { name: 'headline', type: :string, }, { name: 'content', type: :widget, }, ] ) end end
Version data entries
10 entries across 10 versions & 1 rubygems