mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-29 22:43:58 +00:00
refDeleteAction, refUpdateAction
This commit is contained in:
@@ -11,6 +11,8 @@ export interface ColumnInfoYaml {
|
||||
length?: number;
|
||||
autoIncrement?: boolean;
|
||||
references?: string;
|
||||
refDeleteAction?: string;
|
||||
refUpdateAction?: string;
|
||||
primaryKey?: boolean;
|
||||
default?: string;
|
||||
}
|
||||
@@ -104,6 +106,8 @@ function convertForeignKeyFromYaml(
|
||||
constraintType: 'foreignKey',
|
||||
pureName: table.name,
|
||||
refTableName: col.references,
|
||||
deleteAction: col.refDeleteAction,
|
||||
updateAction: col.refUpdateAction,
|
||||
columns: [
|
||||
{
|
||||
columnName: col.name,
|
||||
|
||||
@@ -188,6 +188,7 @@
|
||||
'img app-query': 'mdi mdi-view-comfy color-icon-magenta',
|
||||
'img connection': 'mdi mdi-connection color-icon-blue',
|
||||
'img profiler': 'mdi mdi-gauge color-icon-blue',
|
||||
'img users': 'mdi mdi-account-multiple color-icon-blue',
|
||||
'img role': 'mdi mdi-account-group color-icon-blue',
|
||||
'img admin': 'mdi mdi-security color-icon-blue',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user