Coerce 'migrate' command options
This commit is contained in:
parent
6463c49b16
commit
9fcf625e02
1 changed files with 2 additions and 1 deletions
|
@ -24,6 +24,7 @@ class Twenty::Command::Migrate < Twenty::Command
|
|||
private
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue