See attachments below. You will find the 1.4 template and 1.4 upgrader (in the DHIS14.7zip) (see Comments to 1.4 template for further information) and create and drop statements for a test database.