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


1.3
date	2001.06.11.23.09.37;	author elicia;	state dead;
branches;
next	1.2;

1.2
date	2001.06.06.23.44.35;	author elicia;	state Exp;
branches;
next	1.1;

1.1
date	2001.05.31.19.17.04;	author elicia;	state Exp;
branches;
next	;


desc
@@


1.3
log
@This sql script has been replaced by projectDownloadMigrate.pl.
@
text
@## Migrate records from no longer relevant ProjectDownload table into ProjectDocument table.

insert into HELM_PROJECTDOCUMENT (project_id, status, file_name, proposed_by, 
                                  approved_by, modified_by, is_public, 
                                  created_date, modified_date, 
                                  size, name, description, text, url) 

              select project_id, 'Active',  file_name,  proposed_by, 
              approved_by, proposed_by, is_public,  uploaded_date, 
              uploaded_date, size, file_name, description, '', '' 
              from HELM_PROJECTDOWNLOAD ; 
@


1.2
log
@ the former ProjectDownload.sql script is now called ProjectDocument. It has the field changes for the HELM_PROJECTDOCUMENT table.

Added ProjectDownload.sql to migrate existing Download records to the ProjectDocument table.
@
text
@@


1.1
log
@migration script for changes to ProjectDocument schema.
@
text
@d1 1
d3 4
a6 3
alter table HELM_PROJECTDOCUMENT
 change column CREATED_DATE MODIFIED_DATE DATE
;
d8 4
a11 15
alter table HELM_PROJECTDOCUMENT
 drop column TYPE
;

alter table HELM_PROJECTDOCUMENT
 add STATUS mediumtext NULL;
;

alter table HELM_PROJECTDOCUMENT
 add MODIFIED_DATE DATE
;

alter table HELM_PROJECTDOCUMENT
 add MODIFIED_BY int(11) NULL
;
@

