Skip to content

Commit

Permalink
0006315: MySQL and MariaDB create table support for UNSIGNED columns
Browse files Browse the repository at this point in the history
  • Loading branch information
joshahicks committed Mar 27, 2024
1 parent 9085b8c commit 5c165db
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -512,6 +512,11 @@ public String getSqlType(Column column) {
sqlType = "DOUBLE";
}
}
return sqlType;

if (sqlType.contains("UNSIGNED")) {
sqlType = sqlType.replaceAll(" UNSIGNED", "");
sqlType = sqlType + " UNSIGNED";
}
return sqlType;
}
}

0 comments on commit 5c165db

Please sign in to comment.