Skip to content

Commit

Permalink
Update src/db/migrations/20240117092824_add_sort_columns_to_favorites.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Evgenij Shangin <[email protected]>
  • Loading branch information
stankis and jhoncool authored Jan 17, 2024
1 parent f5c7077 commit 0cea365
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export async function up(knex: Knex): Promise<void> {
CREATE INDEX favorites_alias_idx ON favorites(alias);
UPDATE favorites SET sort_alias = naturalsort(alias);
CREATE INDEX sort_favorites_alias_idx ON favorites(sort_alias);
CREATE INDEX favorites_sort_alias_idx ON favorites(sort_alias);
CREATE FUNCTION update_favorites() RETURNS trigger AS $$
BEGIN
Expand Down

0 comments on commit 0cea365

Please sign in to comment.