Skip to content

Commit

Permalink
`Made some adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
Meindert Kroese authored and jauco committed Oct 4, 2017
1 parent c0d56ea commit ce69563
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ protected void writeCreateTable() {
System.out.println("DROP TABLE " + tableName + ";");
String createTableString = "CREATE TABLE " + tableName + " (\n";
for (String column: columns) {
createTableString += column + " 'text',\n";
createTableString += column + "_type 'text',\n";
createTableString += column + " text,\n";
createTableString += column + "_type text,\n";
}
createTableString = createTableString.substring(0, createTableString.length()-2);
createTableString += ");";
System.out.println(createTableString);
}
Expand Down

0 comments on commit ce69563

Please sign in to comment.