|
|
@ -52,8 +52,7 @@ |
|
|
|
</v-container> |
|
|
|
</v-container> |
|
|
|
|
|
|
|
|
|
|
|
<v-container v-show="advanceOptions" fluid class="wrapper"> |
|
|
|
<v-container v-show="advanceOptions" fluid class="wrapper"> |
|
|
|
<v-row> |
|
|
|
<v-row /> |
|
|
|
</v-row> |
|
|
|
|
|
|
|
<template v-if="!isSQLite"> |
|
|
|
<template v-if="!isSQLite"> |
|
|
|
<v-row> |
|
|
|
<v-row> |
|
|
|
<v-col cols="6"> |
|
|
|
<v-col cols="6"> |
|
|
@ -67,7 +66,7 @@ |
|
|
|
:items="onUpdateDeleteOptions" |
|
|
|
:items="onUpdateDeleteOptions" |
|
|
|
required |
|
|
|
required |
|
|
|
dense |
|
|
|
dense |
|
|
|
:disabled="relation.type !== 'real'" |
|
|
|
:disabled="relation.virtual" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</v-col> |
|
|
|
</v-col> |
|
|
|
<v-col cols="6"> |
|
|
|
<v-col cols="6"> |
|
|
@ -81,25 +80,23 @@ |
|
|
|
:items="onUpdateDeleteOptions" |
|
|
|
:items="onUpdateDeleteOptions" |
|
|
|
required |
|
|
|
required |
|
|
|
dense |
|
|
|
dense |
|
|
|
:disabled="relation.type !== 'real'" |
|
|
|
:disabled="relation.virtual" |
|
|
|
/> |
|
|
|
|
|
|
|
</v-col> |
|
|
|
|
|
|
|
</v-row> |
|
|
|
|
|
|
|
<v-row> |
|
|
|
|
|
|
|
<v-col> |
|
|
|
|
|
|
|
<v-checkbox |
|
|
|
|
|
|
|
v-model="relation.type" |
|
|
|
|
|
|
|
false-value="real" |
|
|
|
|
|
|
|
true-value="virtual" |
|
|
|
|
|
|
|
label="Virtual Relation" |
|
|
|
|
|
|
|
:full-width="false" |
|
|
|
|
|
|
|
required |
|
|
|
|
|
|
|
class="mt-0" |
|
|
|
|
|
|
|
dense |
|
|
|
|
|
|
|
/> |
|
|
|
/> |
|
|
|
</v-col> |
|
|
|
</v-col> |
|
|
|
</v-row> |
|
|
|
</v-row> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
<v-row> |
|
|
|
|
|
|
|
<v-col> |
|
|
|
|
|
|
|
<v-checkbox |
|
|
|
|
|
|
|
v-model="relation.virtual" |
|
|
|
|
|
|
|
label="Virtual Relation" |
|
|
|
|
|
|
|
:full-width="false" |
|
|
|
|
|
|
|
required |
|
|
|
|
|
|
|
class="mt-0" |
|
|
|
|
|
|
|
dense |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
</v-col> |
|
|
|
|
|
|
|
</v-row> |
|
|
|
</v-container> |
|
|
|
</v-container> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
@ -148,7 +145,7 @@ export default { |
|
|
|
onDelete: 'NO ACTION', |
|
|
|
onDelete: 'NO ACTION', |
|
|
|
onUpdate: 'NO ACTION', |
|
|
|
onUpdate: 'NO ACTION', |
|
|
|
updateRelation: !!this.column.rtn, |
|
|
|
updateRelation: !!this.column.rtn, |
|
|
|
relationType: 'real' |
|
|
|
virtual: this.isSQLite |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|