Skip to content

Commit ae4bd66

Browse files
committed
feat(schema): add group_settings and globally_verified_users tables
- Introduced new tables for managing group settings and globally verified users in the PostgreSQL schema. - The group_settings table includes fields for chat_id, welcome_message, and updated_at. - The globally_verified_users table includes fields for user_id and verified_at.
1 parent 2e5a070 commit ae4bd66

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

schema.sql

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,14 @@ CREATE TABLE IF NOT EXISTS reports (
4141
reason TEXT,
4242
created_at TIMESTAMPTZ DEFAULT NOW()
4343
);
44+
45+
CREATE TABLE IF NOT EXISTS group_settings (
46+
chat_id BIGINT PRIMARY KEY,
47+
welcome_message TEXT,
48+
updated_at TIMESTAMPTZ DEFAULT NOW()
49+
);
50+
51+
CREATE TABLE IF NOT EXISTS globally_verified_users (
52+
user_id BIGINT PRIMARY KEY,
53+
verified_at TIMESTAMPTZ DEFAULT NOW()
54+
);

0 commit comments

Comments
 (0)