Class: IncreaseJobVersion

Inherits:
Debci::DB::LEGACY_MIGRATION
  • Object
show all
Defined in:
lib/debci/db/migrations/20190905140000_increase_job_version.rb

Instance Method Summary collapse

Instance Method Details

#downObject



6
7
8
# File 'lib/debci/db/migrations/20190905140000_increase_job_version.rb', line 6

def down
  change_column :jobs, :version, :string, limit: 100
end

#upObject



2
3
4
# File 'lib/debci/db/migrations/20190905140000_increase_job_version.rb', line 2

def up
  change_column :jobs, :version, :string, limit: 256
end