Merge branch 'develop' into chore/update-rails

This commit is contained in:
Sojan Jose
2025-03-18 01:29:19 -07:00
committed by GitHub
42 changed files with 576 additions and 310 deletions
@@ -0,0 +1,8 @@
class AddIndexToArticles < ActiveRecord::Migration[7.0]
def change
add_index :articles, :status unless index_exists?(:articles, :status)
add_index :articles, :views unless index_exists?(:articles, :views)
add_index :articles, :portal_id unless index_exists?(:articles, :portal_id)
add_index :articles, :account_id unless index_exists?(:articles, :account_id)
end
end