Skip to content

Commit

Permalink
Explicitly specify index type
Browse files Browse the repository at this point in the history
  • Loading branch information
ameten committed Jan 22, 2025
1 parent d308ad1 commit fbcebc3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ impl MigrationTrait for Migration {
.name("delivered_message_domain_destination_mailbox_idx")
.col(DeliveredMessage::Domain)
.col(DeliveredMessage::DestinationMailbox)
.index_type(IndexType::BTree)
.to_owned(),
)
.await?;
Expand All @@ -79,6 +80,7 @@ impl MigrationTrait for Migration {
.col(DeliveredMessage::Domain)
.col(DeliveredMessage::DestinationMailbox)
.col(DeliveredMessage::Sequence)
.index_type(IndexType::BTree)
.to_owned(),
)
.await?;
Expand Down

0 comments on commit fbcebc3

Please sign in to comment.