package org.openlmis.core.persistence.migrations;

import org.openlmis.core.persistence.Migration;

public class CreateProgramDataFormTable extends Migration {
    @Override
    public void up() {
        execSQL("CREATE TABLE `program_data_forms` " +
                "(`submittedTime` VARCHAR , " +
                "`periodBegin` VARCHAR , " +
                "`periodEnd` VARCHAR , " +
                "`observataion` VARCHAR DEFAULT '' , " +
                "`program_id` BIGINT , " +
                "`status` VARCHAR DEFAULT 'DRAFT' , " +
                "`synced` SMALLINT , " +
                "`createdAt` VARCHAR NOT NULL , " +
                "`updatedAt` VARCHAR NOT NULL , " +
                "`id` INTEGER PRIMARY KEY AUTOINCREMENT )");
    }
}

@@ -407,17 +407,16 @@
 observat
-a
 ion%60 VAR

modify observation in database