lib/scrivito/migrations/migration.rb in scrivito_sdk-0.16.0 vs lib/scrivito/migrations/migration.rb in scrivito_sdk-0.17.0

- old
+ new

@@ -7,10 +7,10 @@ # # @example Simple Migration # # class CreateTestAttribute < Scrivito::Migrations::Migration # def up - # add_attribute_to('homepage', :name => 'test', :type => 'string') + # ObjClass.find('Homepage').attributes.add(Attribute.new(name: 'test', type: :string)) # end # end class Migration include MigrationDsl