mirror of
https://github.com/aljazceru/ditto.git
synced 2026-02-18 11:44:20 +01:00
Don't use semi-colons in migration
This commit is contained in:
@@ -8,8 +8,8 @@ export async function up(db: Kysely<any>): Promise<void> {
|
||||
.ifNotExists()
|
||||
.execute();
|
||||
|
||||
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 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);
|
||||
}
|
||||
|
||||
export async function down(db: Kysely<any>): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user