mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Don't use semi-colons in migration
This commit is contained in:
parent
642ecfd36f
commit
394021e485
1 changed files with 2 additions and 2 deletions
|
|
@ -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> {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue