DatabaseColumn col = new DatabaseColumn(table, "OrderId", "int", 0, null, false, true);
table.addColumn(col);
table.addColumn(new DatabaseColumn(table, "CustomerId", "int", 0, null, false, false));
table.addColumn(new DatabaseColumn(table, "OrderDate", "date", 0, null, false, false));
table.addColumn(new DatabaseColumn(table, "ShippedDate", "date", 0, null, false, false));
table.addColumn(new DatabaseColumn(table, "ShipVia", "int", 0, null, false, false));
return checkSchema(table);
}
private DatabaseTable createOrderDetailsTable() {
DatabaseTable table = new DatabaseTable(quotes.escapeNameIfNeeded("Order Details"), "public");