mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-25 02:50:08 +03:00
Add missing methods to migrator
This commit is contained in:
parent
769052f684
commit
950b9c5c0a
@ -18,6 +18,18 @@ require 'set'
|
||||
require "rexml/document"
|
||||
include REXML
|
||||
|
||||
class String
|
||||
def red
|
||||
colorize(31)
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def colorize(color_code)
|
||||
"\e[#{color_code}m#{self}\e[0m"
|
||||
end
|
||||
end
|
||||
|
||||
module Migrator
|
||||
def db_version
|
||||
"3.9.80"
|
||||
|
Loading…
x
Reference in New Issue
Block a user