lib/generators/scrivito/migration/templates/migration.erb in scrivito_sdk-0.65.2 vs lib/generators/scrivito/migration/templates/migration.erb in scrivito_sdk-0.66.0.rc1
- old
+ new
@@ -1,14 +1,12 @@
class <%= class_name %>Migration < Scrivito::Migration
def up
- # This migration file allows to change the CMS content programmatically.
- # All Scrivito SDK classes and methods are available and arbitrary Ruby code can be executed.
+ # When run, this migration changes the CMS content programmatically.
+ # All Scrivito SDK classes and methods can be used here, and any Ruby code can be executed.
#
- # Use `bundle exec rake scrivito:migrate` to run all migrations that are new to the `rtc` workspace.
- # Migrations are identified by an ID and only get executed once. If you migrate the CMS an
- # existing `rtc` workspace is used or a new `rtc` workspace is created. Only one developer at a
- # time can run migrations, which means to quickly try to publish the current migrations.
+ # Use `bundle exec rake scrivito:migrate` to run all the migrations that have not yet
+ # been applied to the CMS. Every migration has a unique ID and is executed only once.
#
- # Use `bundle exec rake scrivito:migrate:publish` to publish your `rtc` workspace that holds the
- # latest unpublished migrations.
+ # Use `bundle exec rake scrivito:migrate:publish` to publish the changes introduced by
+ # your migrations.
end
end