Added default values to the table field

This commit is contained in:
mathias 2021-08-20 14:05:24 +02:00
parent 7daa494272
commit 5114296b74
No known key found for this signature in database
GPG Key ID: 8950DF62139C852A

View File

@ -2,11 +2,11 @@ package de.gnmyt.SQLToolkit.types;
public class TableField { public class TableField {
private String name; private String name = "default";
private String type; private String type = SQLType.STRING.getValue();
private int length; private int length = 255;
private boolean allowNull; private boolean allowNull = false;
private String defaultValue; private String defaultValue = "";
private String[] extra; private String[] extra;
/** /**