Remove non-null constraints from some devfile fields; (#13516)
parent
caae00e21b
commit
de24123e4e
|
|
@ -0,0 +1,16 @@
|
|||
--
|
||||
-- Copyright (c) 2012-2019 Red Hat, Inc.
|
||||
-- This program and the accompanying materials are made
|
||||
-- available under the terms of the Eclipse Public License 2.0
|
||||
-- which is available at https://www.eclipse.org/legal/epl-2.0/
|
||||
--
|
||||
-- SPDX-License-Identifier: EPL-2.0
|
||||
--
|
||||
-- Contributors:
|
||||
-- Red Hat, Inc. - initial API and implementation
|
||||
--
|
||||
|
||||
ALTER TABLE devfile_entrypoint ALTER COLUMN parent_name DROP NOT NULL;
|
||||
ALTER TABLE devfile_entrypoint ALTER COLUMN container_name DROP NOT NULL;
|
||||
|
||||
ALTER TABLE devfile_action ALTER COLUMN component DROP NOT NULL;
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
--
|
||||
-- Copyright (c) 2012-2019 Red Hat, Inc.
|
||||
-- This program and the accompanying materials are made
|
||||
-- available under the terms of the Eclipse Public License 2.0
|
||||
-- which is available at https://www.eclipse.org/legal/epl-2.0/
|
||||
--
|
||||
-- SPDX-License-Identifier: EPL-2.0
|
||||
--
|
||||
-- Contributors:
|
||||
-- Red Hat, Inc. - initial API and implementation
|
||||
--
|
||||
|
||||
ALTER TABLE devfile_entrypoint
|
||||
MODIFY COLUMN parent_name VARCHAR(255) NULL DEFAULT NULL,
|
||||
MODIFY COLUMN container_name VARCHAR(255) NULL DEFAULT NULL;
|
||||
|
||||
ALTER TABLE devfile_action MODIFY COLUMN component VARCHAR(255) NULL DEFAULT NULL;
|
||||
Loading…
Reference in New Issue