Skip to content

Commit f123761

Browse files
committed
Add case
1 parent ed957b1 commit f123761

File tree

1 file changed

+0
-2
lines changed
  • crates/vespertide-core/src/schema

1 file changed

+0
-2
lines changed

crates/vespertide-core/src/schema/table.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,6 @@ impl TableDef {
9090
}
9191

9292
// Add primary key constraint if any columns have inline pk and no existing pk constraint.
93-
// Inline 선언이든 테이블 제약이든 의미를 동일하게 맞추기 위해, 항상 테이블 제약으로 승격해 둔다.
94-
// (기존에 테이블 PK가 있으면 중복 추가하지 않음)
9593
if !pk_columns.is_empty() {
9694
let has_pk_constraint = constraints
9795
.iter()

0 commit comments

Comments
 (0)