Class: AddIndexes

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

Instance Method Summary collapse

Instance Method Details

#upObject



2
3
4
5
6
# File 'lib/debci/db/migrations/20200326000000_add_indexes.rb', line 2

def up
  add_index :jobs, :package
  add_index :jobs, :suite
  add_index :jobs, :arch
end