app/src/main/java/com/yahala/SQLite/UserSettingDao.java
/**
     * Creates the underlying database table.
     */
Creates the underlying database table.
Creates the underlying database table .
public static void createTable(SQLiteDatabase db, boolean ifNotExists) {
        String constraint = ifNotExists ? "IF NOT EXISTS " : "";
        db.execSQL("CREATE TABLE " + constraint + "'USER_SETTING' (" + 
                "'jid' INTEGER PRIMARY KEY ," +  0: id
                "'NAME' TEXT NOT NULL ," +  1: name
                "'STATUS' INTEGER," +  2: status
                "'AVATAR' TEXT);");  3: avatar
    }
public static void createTable ( SQLiteDatabase db , boolean ifNotExists ) { String constraint = ifNotExists ? "IF NOT EXISTS " : "" ; db . execSQL ( "CREATE TABLE " + constraint + "'USER_SETTING' (" + "'jid' INTEGER PRIMARY KEY ," + "'NAME' TEXT NOT NULL ," + "'STATUS' INTEGER," + "'AVATAR' TEXT);" ) ; }
Creates the underlying database table.
Creates the underlying database table .
// // 0: id // 1: name // 2: status // 3: avatar