blob: 5ab5a9ba2f89f4b00f9cd2610dcbe10caaafdf33 (
plain)
1
2
3
4
5
6
7
8
9
10
|
# frozen_string_literal: true
class AddEnvironmentIdToClustersKubernetesNamespaces < ActiveRecord::Migration[5.1]
DOWNTIME = false
def change
add_reference :clusters_kubernetes_namespaces, :environment,
index: true, type: :bigint, foreign_key: { on_delete: :nullify }
end
end
|