nocobase icon indicating copy to clipboard operation
nocobase copied to clipboard

chore: support composite record unique key

Open katherinehhh opened this issue 6 months ago • 26 comments

This is a ...

  • [ ] New feature
  • [x] Improvement
  • [ ] Bug fix
  • [ ] Others

Motivation

支持多个字段作为记录的联合唯一索引

Description

1.不支持在界面上创建联合主键的表(支持数据库中建好的联合主键表索引) 2.可在视图、SQL 表中使用,手动配置联合主键(Record unique key) 3.可在外部数据源中使用,手动配置联合主键(Record unique key),初始化应该支持自动识别

Related issues

Showcase

Changelog

Language Changelog
🇺🇸 English support composite record unique key
🇨🇳 Chinese 支持联合主键

Docs

Language Link
🇺🇸 English
🇨🇳 Chinese

Checklists

  • [ ] All changes have been self-tested and work as expected
  • [ ] Test cases are updated/provided or not needed
  • [ ] Doc is updated/provided or not needed
  • [ ] Component demo is updated/provided or not needed
  • [ ] Changelog is provided or not needed
  • [ ] Request a code review if it is necessary

katherinehhh avatar Aug 07 '24 06:08 katherinehhh