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

This commit is contained in:
mathias 2021-08-27 12:23:26 +02:00
parent 6ce3671099
commit 8eb4033704
No known key found for this signature in database
GPG Key ID: 8950DF62139C852A
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -96,7 +96,7 @@ public abstract class SQLTable {
* @param extras The extras that you want to add * @param extras The extras that you want to add
*/ */
protected void custom(String type, String name, int length, boolean allowNull, String defaultValue, String... extras) { 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));
} }
/** /**