mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-28 19:56:00 +00:00
Added FK constraint type for sqlite
This commit is contained in:
@@ -129,6 +129,7 @@ class Analyser extends DatabaseAnalyser {
|
|||||||
updateAction: fkcol.on_update,
|
updateAction: fkcol.on_update,
|
||||||
deleteAction: fkcol.on_delete,
|
deleteAction: fkcol.on_delete,
|
||||||
constraintName: `FK_${tableName}_${fkcol.id}`,
|
constraintName: `FK_${tableName}_${fkcol.id}`,
|
||||||
|
constraintType: 'foreignKey',
|
||||||
};
|
};
|
||||||
return fk;
|
return fk;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user