这是我的数据库帮助程序类的代码,任何人都可以告诉我,我在做什么错误,表中没有添加电子邮件列,每次我收到错误,表没有cloumn名称person_email
package com.example.and;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;
public class AndroidOpenDbHelper {
private static final String TAG = AndroidOpenDbHelper.class.getSimpleName();
// database configuration
// if you want the onUpgrade to run then change the database_version
private static final int DATABASE_VERSION = 1;
private static final String DATABASE_NAME = "mydatabase.db";
// table configuration
private static final String TABLE_NAME = "person_table"; // Table name
private static final String PERSON_TABLE_COLUMN_ID = "_id"; // a column named "_id" …Run Code Online (Sandbox Code Playgroud)