11 lines
239 B
Ruby
11 lines
239 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddStatusToProjects < ActiveRecord::Migration[8.0]
|
|
def change
|
|
change_table :projects, bulk: true do |t|
|
|
t.string :status
|
|
t.index :status, where: 'status IS NOT NULL'
|
|
end
|
|
end
|
|
end
|