Skip to content

Commit

Permalink
Merge pull request #1299 from LiliyaLazarova/additional_support_for_r…
Browse files Browse the repository at this point in the history
…ow_tableType

overloading unique() methodin AlterTableBuilder
  • Loading branch information
ThuF authored Nov 24, 2021
2 parents fa1e49d + c9c87f9 commit 792dcec
Showing 1 changed file with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@

package org.eclipse.dirigible.database.sql.builders.table;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import org.eclipse.dirigible.database.sql.ISqlDialect;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

/**
* The Create Table Builder.
*/
Expand Down Expand Up @@ -116,6 +116,11 @@ public AlterTableBuilder unique(String name, String[] columns) {
return this;
}

@Override
public AlterTableBuilder unique(String name, String[] columns, String type, String order){
return unique(name, columns);
}

/*
* (non-Javadoc)
* @see org.eclipse.dirigible.database.sql.ISqlBuilder#generate()
Expand Down

0 comments on commit 792dcec

Please sign in to comment.