<commit_before>package com.jigdraw.draw.db;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

import static com.jigdraw.draw.util.DBUtil.DATABASE_NAME;
import static com.jigdraw.draw.util.DBUtil.DATABASE_VERSION;


/**
 * Image database class that extends the {@link SQLiteOpenHelper}
 * for database manipulations.
 * <p/>
 * Created by <NAME>
 */
public class ImageDB extends SQLiteOpenHelper {

    /**
     * Create new image db object with the following parameters
     *
     * @param context the application context
     */
    public ImageDB(Context context) {
        super(context, DATABASE_NAME, null, DATABASE_VERSION);
    }

    @Override
    public void onCreate(SQLiteDatabase db) {
        db.execSQL("create table jigsaw_images (name TEXT, img TEXT, desc TEXT);");
    }<commit_msg>work on database<commit_after>package com.jigdraw.draw.db;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

import static com.jigdraw.draw.util.DBUtil.DATABASE_NAME;
import static com.jigdraw.draw.util.DBUtil.DATABASE_VERSION;


/**
 * Image database class that extends the {@link SQLiteOpenHelper}
 * for database manipulations.
 * <p/>
 * Created by <NAME>
 */
public class ImageDB extends SQLiteOpenHelper {

    /**
     * Create new image db object with the following parameters
     *
     * @param context the application context
     */
    public ImageDB(Context context) {
        super(context, DATABASE_NAME, null, DATABASE_VERSION);
    }

    @Override
    public void onCreate(SQLiteDatabase db) {
        db.execSQL("create table jigsaw_images if not exists (name TEXT, img TEXT, desc TEXT);");
    }
{'fraction_non_alphanumeric': 0.09454136184580754, 'fraction_numerical': 0.0, 'mean_word_length': 3.7795698924731185, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3948693', 'n_tokens_mistral': 536, 'n_tokens_neox': 520, 'n_words': 143}