mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-23 08:11:11 +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
12 lines
273 B
Ruby
Vendored
12 lines
273 B
Ruby
Vendored
# 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
|