Edit values.yaml
This commit is contained in:
parent
8e54d789fc
commit
fbec58b5b3
@ -656,26 +656,9 @@ postgresql:
|
||||
initdbScripts:
|
||||
init.sql: |
|
||||
CREATE DATABASE search_db;
|
||||
CREATE TABLE IF NOT EXISTS users (
|
||||
id BIGINT NOT NULL,
|
||||
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;
|
||||
|
||||
CREATE DATABASE device;
|
||||
CREATE DATABASE license;
|
||||
|
||||
## @param postgresql.initdbScriptsCM ConfigMap with scripts to be run at first boot
|
||||
## NOTE: This will override initdbScripts
|
||||
##
|
||||
|
||||
Loading…
Reference in New Issue
Block a user