class AlterExternalAdverseEventReportingPeriodsDropNotNullConstraints extends edu.northwestern.bioinformatics.bering.Migration {
    void up() {
    	if(databaseMatches('postgresql')){
    		execute("alter table ext_ae_reporting_prds alter column start_date drop not null");
    	}
    	
    	if(databaseMatches('oracle')){
    	 	execute("alter table ext_ae_reporting_prds modify start_date null");
    	}
    }

    void down() {
    }
}
Implement saving provisional adverse event reporting period and adverse events from Force.com
CAAERS-5860: Implement saving provisional adverse event reporting period and adverse events from Force.com 

SVN-Revision: 17368
