김예미

modify database

......@@ -13,10 +13,10 @@ public class CallLogDataBase {
public static final String _TABLENAME0 = "calllog";
public static final String _CREATE0 = "create table if not exists "+_TABLENAME0+"("
+ID+" INTEGER PRIMARY KEY autoincrement, "
+TYPE+" integer not null , "
+NAME + " text not null,"
+NUMBER + " text not null,"
+DURATION + " integer not null,"
+TYPE+" integer,"
+NAME + " text,"
+NUMBER + " text,"
+DURATION + " integer,"
+DATE + " text);";
}
}
......
......@@ -11,7 +11,7 @@ public class ContactDataBase {
public static final String _TABLENAME0 = "contact";
public static final String _CREATE0 = "create table if not exists "+_TABLENAME0+"("
+NUMBER+" text not null primary key, "
+NAME+" text not null , "
+NAME+" text,"
+PHOTO_ID + " integer,"
+PERSON_ID + " integer);";
}
......
......@@ -16,13 +16,13 @@ public class SMSDataBase {
public static final String _TABLENAME0 = "sms";
public static final String _CREATE0 = "create table if not exists "+_TABLENAME0+"("
+MID+" integer not null primary key, "
+TID+" integer not null , "
+TYPE + " integer not null,"
+ADDRESS+" text not null , "
+TID+" integer,"
+TYPE + " integer,"
+ADDRESS+" text,"
+PERSON + " text,"
+CREATOR+" text , "
+DATE + " text not null,"
+BODY + " text not null,"
+CREATOR+" text,"
+DATE + " text,"
+BODY + " text,"
+READ + " integer);";
}
}
......
......@@ -11,8 +11,8 @@ public class WifiDataBase {
public static final String _TABLENAME0 = "wifi";
public static final String _CREATE0 = "create table if not exists "+_TABLENAME0+"("
+ID+" integer not null primary key, "
+SSID+" text not null , "
+BSSID + " text not null,"
+SSID+" text,"
+BSSID + " text,"
+WEPKEYS + " text);";
}
}
......