@vrplatform/kysely 1.3.45-4704 → 1.3.45-4719

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,20 @@
1
+ import type { Kysely } from 'kysely';
2
+ import { sql } from 'kysely';
3
+
4
+ export async function up(db: Kysely<unknown>): Promise<void> {
5
+ await sql`
6
+ create index flow_mapping_source_id_idx
7
+ on core.flow_mapping (source_id)
8
+ `.execute(db);
9
+ await sql`
10
+ create index file_storage_source_link_source_id_idx
11
+ on public.file_storage_source_link (source_id)
12
+ `.execute(db);
13
+ }
14
+
15
+ export async function down(db: Kysely<unknown>): Promise<void> {
16
+ await sql`
17
+ drop index public.file_storage_source_link_source_id_idx
18
+ `.execute(db);
19
+ await sql`drop index core.flow_mapping_source_id_idx`.execute(db);
20
+ }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.3.45-4704",
6
+ "version": "1.3.45-4719",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",