Sha256: 69558101ee0780f606bc19af3362d16ab3cb17499b3c0510d7e843c6df80e647

Contents?: true

Size: 273 Bytes

Versions: 16

Compression:

Stored size: 273 Bytes

Contents

class MakeJobNameDefaultToSomething < ActiveRecord::Migration
  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

16 entries across 16 versions & 1 rubygems

Version Path
foreman_remote_execution-1.3.7 db/migrate/20160108141144_make_job_name_default_to_something.rb
foreman_remote_execution-1.3.6 db/migrate/20160108141144_make_job_name_default_to_something.rb
foreman_remote_execution-1.4.1 db/migrate/20160108141144_make_job_name_default_to_something.rb
foreman_remote_execution-1.3.5 db/migrate/20160108141144_make_job_name_default_to_something.rb
foreman_remote_execution-1.3.4 db/migrate/20160108141144_make_job_name_default_to_something.rb
foreman_remote_execution-1.3.3 db/migrate/20160108141144_make_job_name_default_to_something.rb
foreman_remote_execution-1.3.2 db/migrate/20160108141144_make_job_name_default_to_something.rb
foreman_remote_execution-1.3.1 db/migrate/20160108141144_make_job_name_default_to_something.rb
foreman_remote_execution-1.3.0 db/migrate/20160108141144_make_job_name_default_to_something.rb
foreman_remote_execution-1.2.2 db/migrate/20160108141144_make_job_name_default_to_something.rb
foreman_remote_execution-1.2.1 db/migrate/20160108141144_make_job_name_default_to_something.rb
foreman_remote_execution-1.2.0 db/migrate/20160108141144_make_job_name_default_to_something.rb
foreman_remote_execution-1.1.1 db/migrate/20160108141144_make_job_name_default_to_something.rb
foreman_remote_execution-1.1.0 db/migrate/20160108141144_make_job_name_default_to_something.rb
foreman_remote_execution-1.0.0 db/migrate/20160108141144_make_job_name_default_to_something.rb
foreman_remote_execution-0.3.2 db/migrate/20160108141144_make_job_name_default_to_something.rb