(String model_first, String model_second)
| 117 | } |
| 118 | |
| 119 | public String dropMany2ManyRel(String model_first, String model_second) { |
| 120 | String column_first = modelToTable(model_first); |
| 121 | String column_second = modelToTable(model_second); |
| 122 | String rel_table = column_first + "_" + column_second + "_rel"; |
| 123 | StringBuffer sql = new StringBuffer(); |
| 124 | sql.append("DROP TABLE IF EXISTS "); |
| 125 | sql.append(rel_table + ";"); |
| 126 | Log.d("SQLHelper", "Table dropped : " + rel_table); |
| 127 | return sql.toString(); |
| 128 | } |
| 129 | |
| 130 | public List<String> dropTable(OEDBHelper db) { |
| 131 | List<String> queries = new ArrayList<String>(); |
no test coverage detected