Sha256: 09feae3008eb13e1deeddfc8d9a4b862362941f1921552e967688d78930bb825
Contents?: true
Size: 408 Bytes
Versions: 85
Compression:
Stored size: 408 Bytes
Contents
class CreateForemanTasksLocks < ActiveRecord::Migration def change create_table :foreman_tasks_locks do |t| t.string :task_id, index: true, null: false t.string :name, index: true, null: false t.string :resource_type, index: true t.integer :resource_id t.boolean :exclusive, index: true end add_index :foreman_tasks_locks, [:resource_type, :resource_id] end end
Version data entries
85 entries across 85 versions & 1 rubygems