From 0c0ea8897e64461b1cfa9cd86a939b48f0bdd640 Mon Sep 17 00:00:00 2001
From: Vitaly Takmazov
Date: Sat, 3 Dec 2022 15:28:06 +0300
Subject: Initial PostgreSQL schema and profile

---
 src/main/resources/db/specific/mariadb/V1.2__Drop telegram_chats.sql | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 src/main/resources/db/specific/mariadb/V1.2__Drop telegram_chats.sql

(limited to 'src/main/resources/db/specific/mariadb/V1.2__Drop telegram_chats.sql')

diff --git a/src/main/resources/db/specific/mariadb/V1.2__Drop telegram_chats.sql b/src/main/resources/db/specific/mariadb/V1.2__Drop telegram_chats.sql
new file mode 100644
index 00000000..c8faee0d
--- /dev/null
+++ b/src/main/resources/db/specific/mariadb/V1.2__Drop telegram_chats.sql	
@@ -0,0 +1,2 @@
+INSERT INTO telegram(tg_id, tg_name, loginhash) SELECT chat_id AS tg_id, 'Anonymous', UUID() FROM telegram_chats;
+DROP TABLE telegram_chats;
\ No newline at end of file
-- 
cgit v1.2.3

