Sha256: d24e404b067fd7ec34d4561b3c7b443356f2d2c239f68328043714ff965b7ac0

Contents?: true

Size: 373 Bytes

Versions: 1

Compression:

Stored size: 373 Bytes

Contents

class ChangeSyncStatusToSyncTask < ActiveRecord::Migration
  def change
    remove_column :scc_accounts, :sync_status, :string
    add_column :scc_accounts, :sync_task_id, :uuid, null: true
    # add_foreign_key "scc_accounts", "foreman_tasks_tasks", name: "scc_accounts_foreman_tasks_tasks_id_fk", column: "sync_task_id", primary_key: "id" , on_delete: :nullify
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
foreman_scc_manager-1.3.0 db/migrate/20180321000000_change_sync_status_to_sync_task.rb