We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76c8cd1 commit 2cda4a1Copy full SHA for 2cda4a1
src/main/libs/clients/MySQLClient.ts
@@ -663,7 +663,7 @@ export class MySQLClient extends BaseClient {
663
charset: field.CHARACTER_SET_NAME,
664
collation: field.COLLATION_NAME,
665
autoIncrement: field.EXTRA.includes('auto_increment'),
666
- generated: field.EXTRA.toLowerCase().includes('generated'),
+ generated: ['VIRTUAL GENERATED', 'VIRTUAL STORED'].includes(field.EXTRA),
667
onUpdate: field.EXTRA.toLowerCase().includes('on update')
668
? field.EXTRA.substr(field.EXTRA.indexOf('on update') + 9, field.EXTRA.length).trim()
669
: '',
0 commit comments