+2
-2
crates/ott-db-migration/migrations/003_configure_pgpartman.sql
+2
-2
crates/ott-db-migration/migrations/003_configure_pgpartman.sql
···
2
2
3
3
-- Configure pg_partman for the table
4
4
SELECT create_parent(
5
-
p_parent_table => 'public.vectors',
5
+
p_parent_table => 'vectors',
6
6
p_control => 'created_at',
7
7
p_interval => '30 minutes',
8
8
p_type => 'range',
···
16
16
retention = '2 hours',
17
17
infinite_time_partitions = true,
18
18
automatic_maintenance = 'on'
19
-
WHERE parent_table = 'public.vectors';
19
+
WHERE parent_table = 'vectors';
+1
-1
helm/ott/templates/pg_migration.yaml
+1
-1
helm/ott/templates/pg_migration.yaml
···
27
27
name: postgres-superuser
28
28
key: password
29
29
- name: DATABASE_URL
30
-
value: "postgres://$(DATABASE_USER):$(DATABASE_PASSWORD)@postgres-rw.default.svc.cluster.local:5432"
30
+
value: "postgres://$(DATABASE_USER):$(DATABASE_PASSWORD)@postgres-rw.default.svc.cluster.local:5432/app"
31
31
command:
32
32
- /bin/sh
33
33
- -c
+1
-1
helm/ott/values.yaml
+1
-1
helm/ott/values.yaml
···
38
38
name: postgres-app
39
39
key: password
40
40
- name: DATABASE_URL
41
-
value: "postgres://$(DATABASE_USER):$(DATABASE_PASSWORD)@postgres-rw.default.svc.cluster.local:5432"
41
+
value: "postgres://$(DATABASE_USER):$(DATABASE_PASSWORD)@postgres-rw.default.svc.cluster.local:5432/app"
42
42
43
43
- name: ott-xrpc
44
44
image: