mirror of
https://github.com/n8n-io/n8n.git
synced 2026-05-31 08:46:58 +02:00
try char
This commit is contained in:
parent
66162c7dc2
commit
cfd56861e4
|
|
@ -49,7 +49,13 @@ export function dataTableColumnTypeToSql(
|
|||
) {
|
||||
switch (type) {
|
||||
case 'string':
|
||||
return 'TEXT';
|
||||
switch (dbType) {
|
||||
case 'mysql':
|
||||
case 'mariadb':
|
||||
return 'CHAR';
|
||||
default:
|
||||
return 'TEXT';
|
||||
}
|
||||
case 'number':
|
||||
switch (dbType) {
|
||||
case 'postgres':
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user