From 545798f296124887046f0c0fe362ad42a86fee23 Mon Sep 17 00:00:00 2001 From: Billy Chan Date: Wed, 19 Jun 2024 17:50:27 +0800 Subject: [PATCH] Rename --- src/sqlite/def/schema.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sqlite/def/schema.rs b/src/sqlite/def/schema.rs index e34c918..4539c60 100644 --- a/src/sqlite/def/schema.rs +++ b/src/sqlite/def/schema.rs @@ -7,7 +7,7 @@ pub struct Schema { } impl Schema { - pub fn collect_unique_indexes(mut self) -> Self { + pub fn merge_indexes_into_table(mut self) -> Self { for table in self.tables.iter_mut() { for index in self.indexes.iter() { if index.unique && index.table_name == table.name {