// Path: DataAccessLayer/dal/src/main/java/com/erc/dal/Log.java
// public class Log {
//     public static void e(String message, Exception e) {
//         if (e == null) {
//             e = new Exception();
//         }
//         String fullMessagemessage = "ERROR: " + message +
//                 ", Message:" + e.getMessage() +
//                 ", LocalizedMessage:" + e.getLocalizedMessage() +
//                 ", ToString:" + e.toString();
//         android.util.Log.e(Constant.TAG, fullMessagemessage);
//         e.printStackTrace();
//     }
// 
//     public static void w(String message) {
//         android.util.Log.w(Constant.TAG, message);
//     }
// 
//     public static void i(String message) {
//         android.util.Log.i(Constant.TAG, message);
//     }
// }
// 
// Path: DataAccessLayer/dal/src/main/java/com/erc/dal/upgrade/UpgradeListener.java
// public interface UpgradeListener {
//     public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion);
// }


import android.database.sqlite.SQLiteDatabase;
import com.erc.dal.Log;
import com.erc.dal.upgrade.UpgradeListener;
package com.erc.dataaccesslayer;



public class UpgradeExample implements UpgradeListener {
    @Override
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
        if (oldVersion < 0) {
            try {
                db.execSQL("ALTER TABLE SETTINGS ADD COLUMN UPGRADE_EXAMPLE TEXT;");
            } catch (Exception e) {
// Path: DataAccessLayer/dal/src/main/java/com/erc/dal/Log.java
// public class Log {
//     public static void e(String message, Exception e) {
//         if (e == null) {
//             e = new Exception();
//         }
//         String fullMessagemessage = "ERROR: " + message +
//                 ", Message:" + e.getMessage() +
//                 ", LocalizedMessage:" + e.getLocalizedMessage() +
//                 ", ToString:" + e.toString();
//         android.util.Log.e(Constant.TAG, fullMessagemessage);
//         e.printStackTrace();
//     }
// 
//     public static void w(String message) {
//         android.util.Log.w(Constant.TAG, message);
//     }
// 
//     public static void i(String message) {
//         android.util.Log.i(Constant.TAG, message);
//     }
// }
// 
// Path: DataAccessLayer/dal/src/main/java/com/erc/dal/upgrade/UpgradeListener.java
// public interface UpgradeListener {
//     public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion);
// }


// Path: DataAccessLayer/app/src/main/java/com/erc/dataaccesslayer/UpgradeExample.java
import android.database.sqlite.SQLiteDatabase;
import com.erc.dal.Log;
import com.erc.dal.upgrade.UpgradeListener;

package com.erc.dataaccesslayer;



public class UpgradeExample implements UpgradeListener {
    @Override
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
        if (oldVersion < 0) {
            try {
                db.execSQL("ALTER TABLE SETTINGS ADD COLUMN UPGRADE_EXAMPLE TEXT;");
            } catch (Exception e) {
                Log.w("UpgradeExample.onUpgrade");