Commit a74852ab authored by Steve Abrams's avatar Steve Abrams

Merge branch '300302-db-constraint-terraform-name' into 'master'

Added non-null constraint to terraform state name

See merge request gitlab-org/gitlab!54940
parents 8aac62b2 32f4d02a
---
title: Added non-null constraint to terraform state name
merge_request: 54940
author:
type: changed
# frozen_string_literal: true
class AddNullConstraintToTerraformStateName < ActiveRecord::Migration[6.0]
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def change
change_column_null :terraform_states, :name, false
end
end
ac0f71b427be1fb583474e352ce9468a1270c6e67fa40f9071751a0485f21160
\ No newline at end of file
......@@ -17599,7 +17599,7 @@ CREATE TABLE terraform_states (
locked_at timestamp with time zone,
locked_by_user_id bigint,
uuid character varying(32) NOT NULL,
name character varying(255),
name character varying(255) NOT NULL,
versioning_enabled boolean DEFAULT true NOT NULL
);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment