Commit 32f4d02a authored by Emily Ring's avatar Emily Ring

Added non-null constraint to terraform state name

parent 51f2e31f
---
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
...@@ -17581,7 +17581,7 @@ CREATE TABLE terraform_states ( ...@@ -17581,7 +17581,7 @@ CREATE TABLE terraform_states (
locked_at timestamp with time zone, locked_at timestamp with time zone,
locked_by_user_id bigint, locked_by_user_id bigint,
uuid character varying(32) NOT NULL, uuid character varying(32) NOT NULL,
name character varying(255), name character varying(255) NOT NULL,
versioning_enabled boolean DEFAULT true 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