class Create<%= class_name %> < ::Scrivito::Migration def up Scrivito::ObjClass.create( name: '<%= class_name %>', is_binary: false, title: '<%= class_name.underscore.humanize %>', # attributes: [ # { name: 'example', type: :string }, # ] ) end end