blob: 9546daa397513150193f533c70c76e6dea9f64a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# frozen_string_literal: true
class ValidateEnvironmentIdOnDeployments < Gitlab::Database::Migration[2.0]
def up
validate_foreign_key :deployments, :environment_id
end
def down
# no-op
end
end
|