// Path: source-code/app/src/main/java/org/buildmlearn/toolkit/videocollectiontemplate/data/VideoContract.java
// public static final class Videos implements BaseColumns {
// 
//     public static final String TABLE_NAME = "videos";
// 
//     public static final String TITLE = "title";
//     public static final String DESCRIPTION = "description";
//     public static final String LINK = "link";
//     public static final String THUMBNAIL_URL = "thumbnail_url";
// 
// }


import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import org.buildmlearn.toolkit.videocollectiontemplate.data.VideoContract.Videos;
package org.buildmlearn.toolkit.videocollectiontemplate.data;



/**
 * @brief DatabaseHelper for video collection template's simulator.
 * <p/>
 * Created by Anupam (opticod) on 13/5/16.
 */

class VideoDBHelper extends SQLiteOpenHelper {

    private static final String DATABASE_NAME = "video.db";
    private static final int DATABASE_VERSION = 1;

    public VideoDBHelper(Context context) {
        super(context, DATABASE_NAME, null, DATABASE_VERSION);
    }

    @Override
    public void onCreate(SQLiteDatabase sqLiteDatabase) {
// Path: source-code/app/src/main/java/org/buildmlearn/toolkit/videocollectiontemplate/data/VideoContract.java
// public static final class Videos implements BaseColumns {
// 
//     public static final String TABLE_NAME = "videos";
// 
//     public static final String TITLE = "title";
//     public static final String DESCRIPTION = "description";
//     public static final String LINK = "link";
//     public static final String THUMBNAIL_URL = "thumbnail_url";
// 
// }


// Path: source-code/app/src/main/java/org/buildmlearn/toolkit/videocollectiontemplate/data/VideoDBHelper.java
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import org.buildmlearn.toolkit.videocollectiontemplate.data.VideoContract.Videos;

package org.buildmlearn.toolkit.videocollectiontemplate.data;



/**
 * @brief DatabaseHelper for video collection template's simulator.
 * <p/>
 * Created by Anupam (opticod) on 13/5/16.
 */

class VideoDBHelper extends SQLiteOpenHelper {

    private static final String DATABASE_NAME = "video.db";
    private static final int DATABASE_VERSION = 1;

    public VideoDBHelper(Context context) {
        super(context, DATABASE_NAME, null, DATABASE_VERSION);
    }

    @Override
    public void onCreate(SQLiteDatabase sqLiteDatabase) {
        final String SQL_CREATE__TABLE = "CREATE TABLE " + Videos.TABLE_NAME + " (" +