fixed connection string in configs
Build and Deploy / build-and-deploy (push) Successful in 58s

This commit is contained in:
2026-05-23 14:49:15 +03:00
parent 0bedc8d508
commit 11f4b9c921
20 changed files with 35 additions and 9 deletions
@@ -0,0 +1,14 @@
CREATE TABLE families
(
id BIGSERIAL PRIMARY KEY,
name TEXT NOT NULL,
owner_id BIGINT NOT NULL REFERENCES users (id),
telegram_chat_id BIGINT,
telegram_chat_name TEXT,
created_at TIMESTAMP NOT NULL DEFAULT NOW(),
updated_at TIMESTAMP NOT NULL DEFAULT NOW()
);
CREATE INDEX idx_families_owner_id ON families (owner_id);
CREATE UNIQUE INDEX idx_families_chat_id ON families (telegram_chat_id);