mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 16:36:00 +00:00
fix
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
<script lang="ts">
|
||||
import { ColumnInfo, ForeignKeyInfo, PrimaryKeyInfo } from 'dbgate-types';
|
||||
|
||||
import _ from 'lodash';
|
||||
|
||||
import ColumnLabel from '../elements/ColumnLabel.svelte';
|
||||
@@ -14,10 +12,10 @@
|
||||
|
||||
export let tableInfo;
|
||||
|
||||
$: columns = $tableInfo?.columns as ColumnInfo[];
|
||||
$: primaryKey = $tableInfo?.primaryKey as PrimaryKeyInfo;
|
||||
$: foreignKeys = $tableInfo?.foreignKeys as ForeignKeyInfo[];
|
||||
$: dependencies = $tableInfo?.dependencies as ForeignKeyInfo[];
|
||||
$: columns = $tableInfo?.columns;
|
||||
$: primaryKey = $tableInfo?.primaryKey;
|
||||
$: foreignKeys = $tableInfo?.foreignKeys;
|
||||
$: dependencies = $tableInfo?.dependencies;
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user