mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 11:48:08 +08:00

* Updates GitHub Action for migrations * Rubocop: Always `EnforcedShorthandSyntax` for hashes in the `migrations` directory * Automatically load all available converter steps * Enable YJIT at runtime, if available * Progressbar shows skipped records and other small improvements
13 lines
273 B
Ruby
13 lines
273 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Migrations::Converters::Example
|
|
class Step1 < ::Migrations::Converters::Base::Step
|
|
title "Hello world"
|
|
|
|
def execute
|
|
super
|
|
IntermediateDB::LogEntry.create(type: "info", message: "This is a test")
|
|
end
|
|
end
|
|
end
|