|
|
@ -22,7 +22,8 @@ setAdditionalValidations({ |
|
|
|
childId: [{ required: true, message: 'Required' }], |
|
|
|
childId: [{ required: true, message: 'Required' }], |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
let onUpdateDeleteOptions:(string|null)[] = sqlUi === MssqlUi ? ['NO ACTION'] : ['NO ACTION', 'CASCADE', 'RESTRICT', 'SET NULL', 'SET DEFAULT'] |
|
|
|
let onUpdateDeleteOptions: (string | null)[] = |
|
|
|
|
|
|
|
sqlUi === MssqlUi ? ['NO ACTION'] : ['NO ACTION', 'CASCADE', 'RESTRICT', 'SET NULL', 'SET DEFAULT'] |
|
|
|
|
|
|
|
|
|
|
|
if (sqlUi === OracleUi) { |
|
|
|
if (sqlUi === OracleUi) { |
|
|
|
onUpdateDeleteOptions = [null, 'CASCADE'] |
|
|
|
onUpdateDeleteOptions = [null, 'CASCADE'] |
|
|
|