Don't use semi-colons in migration

This commit is contained in:
Alex Gleason 2024-09-15 17:38:16 -05:00
parent 642ecfd36f
commit 394021e485
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -8,8 +8,8 @@ export async function up(db: Kysely<any>): Promise<void> {
.ifNotExists() .ifNotExists()
.execute(); .execute();
await sql`CREATE EXTENSION IF NOT EXISTS pg_trgm;`.execute(db); await sql`CREATE EXTENSION IF NOT EXISTS pg_trgm`.execute(db);
await sql`CREATE INDEX author_search_search_idx ON author_search USING GIN (search gin_trgm_ops);`.execute(db); await sql`CREATE INDEX author_search_search_idx ON author_search USING GIN (search gin_trgm_ops)`.execute(db);
} }
export async function down(db: Kysely<any>): Promise<void> { export async function down(db: Kysely<any>): Promise<void> {