package org.openlmis.core.persistence.migrations;

import org.openlmis.core.persistence.Migration;

public class CreateProgramBasicDataFormTable extends Migration {
    @Override
    public void up() {
        execSQL("CREATE TABLE `program_data_Basic_items` " +
                "(`code` VARCHAR , " +
                "`form_id` BIGINT , " +
                "`name` VARCHAR , " +
                "`initialAmount` BIGINT , " +
                "`received` BIGINT , " +
                "`issued` BIGINT , " +
                "`adjustment` BIGINT , " +
                "`validate` VARCHAR , " +
                "`inventory` BIGINT  )");
    }
}

@@ -327,32 +327,89 @@
 d%60 BIGINT , %22 +%0A
+                %22%60isCustomAmount%60 BOOLEAN DEFAULT 0, %22 +%0A
                 

add isCustomAmount in table