Fix previous commit
[unical.git] / src / ro / ieval / unical / MySQLiteHelper.java
index dc3595157db2a37f9040b810d286a2f90b290b54..ac5372473fc2b312e24128fa76d74f8268046ae6 100644 (file)
@@ -1,10 +1,7 @@
 package ro.ieval.unical;
 
-import java.sql.SQLClientInfoException;
-
 import android.content.Context;
 import android.database.sqlite.SQLiteDatabase;
-import android.database.sqlite.SQLiteDatabase.CursorFactory;
 import android.database.sqlite.SQLiteOpenHelper;
 import android.util.Log;
 
@@ -23,7 +20,8 @@ public class MySQLiteHelper extends SQLiteOpenHelper {
        private static final int dbversion=1;
        
        private static final String Database_create = "create table " + Name + "(" + 
-                       ID + " integer primary key autoincrement, " +
+                       //ID + " integer primary key autoincrement, " +
+                       ID + " text primary key, " +
                        title + " text not null, " + 
                        description + " text, " + 
                        date + " integer, " + 
This page took 0.010034 seconds and 4 git commands to generate.