Skip to content
Snippets Groups Projects
Commit 24d02aee authored by Martin Weise's avatar Martin Weise
Browse files

added cascade

parent 363aa88c
No related branches found
No related tags found
3 merge requests!81New stable release,!43Merge dev to master,!23Sprint results
......@@ -77,6 +77,10 @@ public class TableColumn {
@Column
private String checkExpression;
@ToString.Include
@Column
private Integer ordinalPosition;
@ToString.Include
@Column
private String foreignKey;
......
......@@ -122,7 +122,7 @@ public class TableService {
/* we cannot insert columns at the same time since they depend on the table id */
for (int i = 0; i < createDto.getColumns().length; i++) {
final TableColumn column = tableMapper.columnCreateDtoToTableColumn(createDto.getColumns()[i]);
// column.setOrdinalPosition(i);
column.setOrdinalPosition(i);
column.setCdbid(databaseId);
column.setTid(table.getId());
table.getColumns()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment