Edit values.yaml

This commit is contained in:
inikulin 2025-08-04 21:10:01 +00:00
parent 8e54d789fc
commit fbec58b5b3

View File

@ -656,26 +656,9 @@ postgresql:
initdbScripts: initdbScripts:
init.sql: | init.sql: |
CREATE DATABASE search_db; CREATE DATABASE search_db;
CREATE TABLE IF NOT EXISTS users ( CREATE DATABASE device;
id BIGINT NOT NULL, CREATE DATABASE license;
user_name VARCHAR(255),
nick_name VARCHAR(255),
phone VARCHAR(255),
email VARCHAR(255),
title VARCHAR(255),
PRIMARY KEY (id)
);
CREATE TABLE IF NOT EXISTS users_chats (
id VARCHAR(50),
user_id BIGINT NOT NULL,
chat_id BIGINT NOT NULL,
PRIMARY KEY (id)
);
CREATE INDEX idx_users_chats_chat_id ON users_chats(chat_id);
CREATE EXTENSION IF NOT EXISTS pg_trgm;
## @param postgresql.initdbScriptsCM ConfigMap with scripts to be run at first boot ## @param postgresql.initdbScriptsCM ConfigMap with scripts to be run at first boot
## NOTE: This will override initdbScripts ## NOTE: This will override initdbScripts
## ##