Sha256: f2a2f0e0a64718a5056c264656c09af8af73f33dc992348a9dd881134f843d4f

Contents?: true

Size: 278 Bytes

Versions: 141

Compression:

Stored size: 278 Bytes

Contents

class MakeJobNameDefaultToSomething < ActiveRecord::Migration[4.2]
  def up
    change_column :templates, :job_name, :string, :default => 'Miscellaneous', :limit => 255
  end

  def down
    change_column :templates, :job_name, :string, :default => nil, :limit => 255
  end
end

Version data entries

141 entries across 141 versions & 1 rubygems

Version Path
foreman_remote_execution-1.4.2 db/migrate/20160108141144_make_job_name_default_to_something.rb