Sha256: b1dbf14ab9520432f77f7f4a75bab8258caf74b7215e5930c50397bedb613c8a
Contents?: true
Size: 265 Bytes
Versions: 43
Compression:
Stored size: 265 Bytes
Contents
class AddPurposeToRecurringLogic < ActiveRecord::Migration[6.0] def change add_column :foreman_tasks_recurring_logics, :purpose, :string add_index :foreman_tasks_recurring_logics, :purpose, unique: true, where: "state IN ('active', 'disabled')" end end
Version data entries
43 entries across 43 versions & 1 rubygems