Project

General

Profile

Download (448 Bytes) Statistics
| Branch: | Tag: | Revision:
class RemoveLimitFromRootPass < ActiveRecord::Migration[5.2]
def change
reversible do |dir|
change_table :hosts do |t|
dir.up { t.change :root_pass, :text, limit: nil }
dir.down { t.change :root_pass, :text, limit: 255 }
end

change_table :hostgroups do |t|
dir.up { t.change :root_pass, :text, limit: nil }
dir.down { t.change :root_pass, :text, limit: 255 }
end
end
end
end
(321-321/386)