Skip to content

Commit

Permalink
style: add Prettier ignores
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahsnider committed May 17, 2024
1 parent febfa21 commit a19e419
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/api/src/db/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ export const urls = pgTable(
url: text('url').notNull(),
},
(urls) => ({
// prettier-ignore
blockedIdx: index().on(urls.blocked).using(sql`hash`),
// prettier-ignore
urlIdx: index().on(urls.url).using(sql`hash`),
}),
);
Expand All @@ -34,6 +36,7 @@ export const visits = pgTable(
.notNull(),
},
(visits) => ({
// prettier-ignore
urlShortBase64Idx: index().on(visits.urlShortBase64).using(sql`hash`),
timestampIdx: index().on(visits.timestamp),
}),
Expand Down

0 comments on commit a19e419

Please sign in to comment.