From c8a048c7ddabbc0cc91ff01727195b0f3de455af Mon Sep 17 00:00:00 2001
From: PIVODEVAT <pivodevat@noreply.root-kit.ru>
Date: Sat, 11 Jan 2025 01:12:38 +0300
Subject: [PATCH] Update README.md

---
 README.md | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index d483ec4..380555f 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,24 @@
-# backend
+# Документация
 
+## PostgreSQL
+``` sql
+create table accounts (
+	-- Параметры авторизации
+    id serial primary key,
+    username varchar(16) not null unique,
+    uuid char(32) default replace(gen_random_uuid()::text, '-', '') not null unique,
+    password TEXT not null,
+    access_token char(32) default '',
+    server_id varchar(42) default '',
+    -- Дополнительные параметры
+    email varchar(32) not null unique,
+    email_verify BOOLEAN not null default false,
+    location int not null default 0,
+	skin_type boolean not null default true,
+    firstname varchar(16),
+    middlename varchar(16),
+    lastname varchar(16),
+    registration_date timestamp default current_timestamp,
+    balance decimal(10,2) not null default 0.00
+)
+```
\ No newline at end of file