上游数据字典
@include('system_settings.partials.navigation')

表与字段目录

这里展示后台低频同步到系统数据库的表、视图和字段结构,不需要开发者直接连接云数据库。

返回数据库管理
@if (! $ready)

数据字典正在准备

共享系统数据库完成结构迁移后,后台会自动同步两套云数据库的表和字段。现有业务和数据库连接不受影响。

@else
@foreach ($sourceLabels as $sourceKey => $sourceLabel) @php($status = $sourceStatus->get($sourceKey)) {{ $sourceLabel }} @if ($status) {{ number_format((int) $status->column_count) }} 个字段 · {{ \Illuminate\Support\Carbon::parse($status->synchronized_at)->format('m-d H:i') }} @else 等待后台首次同步 @endif @endforeach
@forelse ($objects as $object) @empty @endforelse
来源 Schema 表或视图 类型 字段数 操作
{{ $sourceLabels[$object->source_key] ?? $object->source_key }} {{ $object->schema_name }} {{ $object->object_name }} {{ $object->object_type === 'view' ? '视图' : '数据表' }} {{ $object->column_count }} 查看字段
还没有匹配的表或字段。若尚未首次同步,请等待后台任务完成。
@if ($objects && $objects->hasPages())
{{ $objects->links() }}
@endif @if ($columns->isNotEmpty())

{{ $columns->first()->schema_name }}.{{ $columns->first()->object_name }}

字段结构来自共享系统数据库中的最近一次后台同步。

@foreach ($columns as $column) @endforeach
序号 字段名称 数据类型 长度/精度 允许为空
{{ $column->ordinal_position }} {{ $column->column_name }} {{ $column->data_type }} @if ($column->max_length !== null) {{ $column->max_length }} @elseif ($column->numeric_precision !== null) {{ $column->numeric_precision }}{{ $column->numeric_scale !== null ? ',' . $column->numeric_scale : '' }} @else — @endif {{ $column->is_nullable ? '是' : '否' }}
@endif @endif