Skip to content

Commit

Permalink
Using removed AS method starts_with? change to String#start_with?
Browse files Browse the repository at this point in the history
  • Loading branch information
enebo committed Apr 30, 2024
1 parent 4ae744f commit 6df1f94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/arjdbc/sqlite3/adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ def copy_table_indexes(from, to, rename = {})
name = index.name
# indexes sqlite creates for internal use start with `sqlite_` and
# don't need to be copied
next if name.starts_with?("sqlite_")
next if name.start_with?("sqlite_")
if to == "a#{from}"
name = "t#{name}"
elsif from == "a#{to}"
Expand Down

0 comments on commit 6df1f94

Please sign in to comment.