Integrated the changes of the TableField into the SQLTable and the CustomTableFieldManager

This commit is contained in:
2021-08-27 12:23:26 +02:00
parent 6ce3671099
commit 8eb4033704
2 changed files with 2 additions and 2 deletions
src/main/java/de/gnmyt/sqltoolkit

@ -92,7 +92,7 @@ public class CustomTableFieldManager {
* @return this class
*/
public CustomTableFieldManager extras(String[] extras) {
field.setExtra(extras);
field.setExtras(extras);
return this;
}

@ -96,7 +96,7 @@ public abstract class SQLTable {
* @param extras The extras that you want to add
*/
protected void custom(String type, String name, int length, boolean allowNull, String defaultValue, String... extras) {
custom(new TableField(name, type, length, allowNull, defaultValue).setExtra(extras));
custom(new TableField(name, type, length, allowNull, defaultValue).setExtras(extras));
}
/**