Coerce 'migrate' command options

This commit is contained in:
0x1eef 2024-04-27 04:21:05 -03:00
parent 6463c49b16
commit 9fcf625e02

View file

@ -24,6 +24,7 @@ class Twenty::Command::Migrate < Twenty::Command
private private
def run_command(options) def run_command(options)
Twenty::Migration.run!(target: options.target) run_options = options.to_h.transform_keys(&:to_sym)
Twenty::Migration.run!(run_options)
end end
end end