Files
subtle-storm/db/migrate/20251021180400_add_status_to_projects.rb
T

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