Class: AddExtraAptSourcesToJobs

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

Instance Method Summary collapse

Instance Method Details

#downObject



6
7
8
# File 'lib/debci/db/migrations/20210706000000_add_extra_apt_sources_to_jobs.rb', line 6

def down
  remove_column :jobs, :extra_apt_sources
end

#upObject



2
3
4
# File 'lib/debci/db/migrations/20210706000000_add_extra_apt_sources_to_jobs.rb', line 2

def up
  add_column :jobs, :extra_apt_sources, :text
end