head	1.1;
access;
symbols;
locks; strict;
comment	@# @;


1.1
date	2001.07.30.18.44.24;	author leonardr;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Moved stuff from 1.1.0 migration directory to 1.2.0 directory to reflect actual future versioning.
@
text
@insert into HELM_RESOURCE (PATTERN, DESCRIPTION)
       values ("/data/htdoc/.*", "All web data")
;

alter table HELM_RESOURCE add column PROJECT_ID integer not null;

create table xxxx_HELM_RESOURCE
(
    RESOURCE_ID INTEGER NOT NULL,
    PROJECT_ID INTEGER NOT NULL,
    PATTERN VARCHAR (99) NOT NULL,
    DESCRIPTION VARCHAR (99) NOT NULL
)
;

insert into xxxx_HELM_RESOURCE (RESOURCE_ID, PROJECT_ID, PATTERN, DESCRIPTION)
select RESOURCE_ID, HELM_PROJECT.PROJECT_ID, PATTERN, DESCRIPTION
 from HELM_RESOURCE, HELM_PROJECT
 where HELM_PROJECT.TYPE="host"
;

delete from HELM_RESOURCE;
insert into HELM_RESOURCE select * from xxxx_HELM_RESOURCE;
drop table xxxx_HELM_RESOURCE;@
