mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 23:21:30 +08:00
a5c8c61733
Create an index for all archived columns [SCI-8162]
13 lines
386 B
Ruby
13 lines
386 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddMissingIndexesOnArchived < ActiveRecord::Migration[6.1]
|
|
def change
|
|
add_index :repositories, :archived
|
|
add_index :repository_rows, :archived
|
|
add_index :experiments, :archived
|
|
add_index :my_modules, :archived
|
|
add_index :projects, :archived
|
|
add_index :results, :archived
|
|
add_index :project_folders, :archived
|
|
end
|
|
end
|