You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/vespertide-query/src/sql/add_constraint.rs
+2-36Lines changed: 2 additions & 36 deletions
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ pub fn build_add_constraint(
23
23
let table_def = current_schema.iter().find(|t| t.name == table).ok_or_else(|| QueryError::Other(format!("Table '{}' not found in current schema. SQLite requires current schema information to add constraints.", table)))?;
24
24
25
25
// Create new constraints with the added primary key constraint
let table_def = current_schema.iter().find(|t| t.name == table).ok_or_else(|| QueryError::Other(format!("Table '{}' not found in current schema. SQLite requires current schema information to add constraints.", table)))?;
128
120
129
121
// Create new constraints with the added foreign key constraint
130
-
// Dedup: check if this FK already exists (e.g. from inline normalization)
Copy file name to clipboardExpand all lines: crates/vespertide-query/src/sql/snapshots/vespertide_query__sql__modify_column_type__tests__modify_enum_types@modify_enum_types_enum_name_changed_postgres.snap
Copy file name to clipboardExpand all lines: crates/vespertide-query/src/sql/snapshots/vespertide_query__sql__modify_column_type__tests__modify_enum_types@modify_enum_types_enum_to_text_postgres.snap
0 commit comments