Fix sql scripts license

6.19.x
Sergii Leshchenko 2017-09-22 15:20:24 +03:00
parent 4ed3c42e96
commit 118a54521c
3 changed files with 24 additions and 37 deletions

View File

@ -1,16 +1,12 @@
--
-- [2012] - [2017] Codenvy, S.A.
-- All Rights Reserved.
-- Copyright (c) 2012-2017 Red Hat, Inc.
-- All rights reserved. This program and the accompanying materials
-- are made available under the terms of the Eclipse Public License v1.0
-- which accompanies this distribution, and is available at
-- http://www.eclipse.org/legal/epl-v10.html
--
-- NOTICE: All information contained herein is, and remains
-- the property of Codenvy S.A. and its suppliers,
-- if any. The intellectual and technical concepts contained
-- herein are proprietary to Codenvy S.A.
-- and its suppliers and may be covered by U.S. and Foreign Patents,
-- patents in process, and are protected by trade secret or copyright law.
-- Dissemination of this information or reproduction of this material
-- is strictly forbidden unless prior written permission is obtained
-- from Codenvy S.A..
-- Contributors:
-- Red Hat, Inc. - initial API and implementation
--
-- System permissions ----------------------------------------------------------

View File

@ -1,16 +1,12 @@
--
-- [2012] - [2017] Codenvy, S.A.
-- All Rights Reserved.
-- Copyright (c) 2012-2017 Red Hat, Inc.
-- All rights reserved. This program and the accompanying materials
-- are made available under the terms of the Eclipse Public License v1.0
-- which accompanies this distribution, and is available at
-- http://www.eclipse.org/legal/epl-v10.html
--
-- NOTICE: All information contained herein is, and remains
-- the property of Codenvy S.A. and its suppliers,
-- if any. The intellectual and technical concepts contained
-- herein are proprietary to Codenvy S.A.
-- and its suppliers and may be covered by U.S. and Foreign Patents,
-- patents in process, and are protected by trade secret or copyright law.
-- Dissemination of this information or reproduction of this material
-- is strictly forbidden unless prior written permission is obtained
-- from Codenvy S.A..
-- Contributors:
-- Red Hat, Inc. - initial API and implementation
--
-- Resource --------------------------------------------------------------------
@ -24,7 +20,6 @@ CREATE TABLE che_resource (
);
--------------------------------------------------------------------------------
-- Free resource limit ---------------------------------------------------------
CREATE TABLE che_free_resources_limit (
account_id VARCHAR(255) NOT NULL,

View File

@ -1,16 +1,12 @@
--
-- [2012] - [2017] Codenvy, S.A.
-- All Rights Reserved.
-- Copyright (c) 2012-2017 Red Hat, Inc.
-- All rights reserved. This program and the accompanying materials
-- are made available under the terms of the Eclipse Public License v1.0
-- which accompanies this distribution, and is available at
-- http://www.eclipse.org/legal/epl-v10.html
--
-- NOTICE: All information contained herein is, and remains
-- the property of Codenvy S.A. and its suppliers,
-- if any. The intellectual and technical concepts contained
-- herein are proprietary to Codenvy S.A.
-- and its suppliers and may be covered by U.S. and Foreign Patents,
-- patents in process, and are protected by trade secret or copyright law.
-- Dissemination of this information or reproduction of this material
-- is strictly forbidden unless prior written permission is obtained
-- from Codenvy S.A..
-- Contributors:
-- Red Hat, Inc. - initial API and implementation
--
-- Organization ----------------------------------------------------------------
@ -64,7 +60,7 @@ CREATE TABLE che_organization_distributed_resources (
PRIMARY KEY (organization_id)
);
-- constraints
ALTER TABLE che_organization_distributed_resources ADD CONSTRAINT che_fk_organization_distributed_resources_organization_id FOREIGN KEY (organization_id) REFERENCES che_organization (id);
ALTER TABLE che_organization_distributed_resources ADD CONSTRAINT che_fk_org_distributed_res_organization_id FOREIGN KEY (organization_id) REFERENCES che_organization (id);
--------------------------------------------------------------------------------
@ -76,6 +72,6 @@ CREATE TABLE che_organization_distributed_resources_resource (
PRIMARY KEY (organization_distributed_resources_id, resource_id)
);
-- constraints
ALTER TABLE che_organization_distributed_resources_resource ADD CONSTRAINT che_fk_organization_distributed_resources_resource_resource_id FOREIGN KEY (resource_id) REFERENCES che_resource (id);
ALTER TABLE che_organization_distributed_resources_resource ADD CONSTRAINT che_fk_organization_distributed_resources_resource_organization_distributed_resources_id FOREIGN KEY (organization_distributed_resources_id) REFERENCES che_organization_distributed_resources (organization_id);
ALTER TABLE che_organization_distributed_resources_resource ADD CONSTRAINT che_fk_org_distributed_res_resource_resource_id FOREIGN KEY (resource_id) REFERENCES che_resource (id);
ALTER TABLE che_organization_distributed_resources_resource ADD CONSTRAINT che_fk_org_distributed_res_resource_org_distributed_res_id FOREIGN KEY (organization_distributed_resources_id) REFERENCES che_organization_distributed_resources (organization_id);
--------------------------------------------------------------------------------