From dcbf7b63036fa97b0357ac52c00ba596ec329007 Mon Sep 17 00:00:00 2001 From: durachok Date: Fri, 10 May 2024 14:10:24 +0700 Subject: [PATCH] fix init --- init.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.sql b/init.sql index 765954e..0cfdae3 100644 --- a/init.sql +++ b/init.sql @@ -3,7 +3,8 @@ CREATE SCHEMA IF NOT EXISTS public; create table if not exists users ( id serial constraint users_pk primary key, - telegram_id bigint not null constraint users_pk_2 unique, + telegram_id bigint not null constraint users_pk_2 unique, + nickname VARCHAR(255) not null constraint users_pk_3 unique, created_at timestamp default CURRENT_TIMESTAMP not null );