mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat(API): Fix generation strategy for mysql/mariadb (#14028)
This commit is contained in:
committed by
GitHub
parent
b2e359ac1c
commit
24d8eac85d
@@ -179,7 +179,7 @@ export class Column {
|
||||
|
||||
if (isGenerated2) {
|
||||
options.isGenerated = true;
|
||||
options.generationStrategy = type === 'uuid' ? 'uuid' : 'identity';
|
||||
options.generationStrategy = type === 'uuid' ? 'uuid' : isMysql ? 'increment' : 'identity';
|
||||
}
|
||||
|
||||
if (isPrimary || isGenerated || isGenerated2) {
|
||||
|
||||
Reference in New Issue
Block a user