mirror of
https://github.com/Fabio286/antares.git
synced 2025-02-08 07:48:40 +01:00
perf: hash for foreign key default names
This commit is contained in:
parent
b0d1f115c9
commit
48c3e6afc4
@ -136,7 +136,7 @@
|
||||
"cross-env": "^7.0.2",
|
||||
"css-loader": "^6.5.0",
|
||||
"electron": "^16.0.1",
|
||||
"electron-builder": "^22.14.10",
|
||||
"electron-builder": "^22.14.11",
|
||||
"electron-devtools-installer": "^3.2.0",
|
||||
"eslint": "^7.32.0",
|
||||
"eslint-config-standard": "^16.0.3",
|
||||
|
@ -289,7 +289,7 @@ export default {
|
||||
addForeign () {
|
||||
this.foreignProxy = [...this.foreignProxy, {
|
||||
_antares_id: uidGen(),
|
||||
constraintName: `FK_${this.foreignProxy.length + 1}`,
|
||||
constraintName: `FK_${uidGen()}`,
|
||||
refSchema: this.schema,
|
||||
table: this.table,
|
||||
refTable: '',
|
||||
|
Loading…
x
Reference in New Issue
Block a user