Added the string sql type & updated boolean & varchar

This commit is contained in:
mathias 2021-08-19 22:24:25 +02:00
parent f6d89ee3f2
commit 3af9a7a880
No known key found for this signature in database
GPG Key ID: 8950DF62139C852A

View File

@ -2,18 +2,18 @@ package de.gnmyt.SQLToolkit.types;
public enum SQLType { public enum SQLType {
STRING("VARCHAR"), VARCHAR("VARCHAR"),
STRING("TEXT"),
INTEGER("INT"), INTEGER("INT"),
DATE("DATE"), DATE("DATE"),
DATETIME("DATETIME"), DATETIME("DATETIME"),
BOOLEAN("BOOLEAN"); BOOLEAN("TINYINT");
private String value = ""; private String value;
/** /**
* Basic constructor for the SQLType enum * Basic constructor of the {@link SQLType} enum
* * @param value The value of the type
* @param value MySQL data type
*/ */
SQLType(String value) { SQLType(String value) {
this.value = value; this.value = value;