diff options
Diffstat (limited to 'src/main/resources/db/migration/V1.2__Drop telegram_chats.sql')
-rw-r--r-- | src/main/resources/db/migration/V1.2__Drop telegram_chats.sql | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/resources/db/migration/V1.2__Drop telegram_chats.sql b/src/main/resources/db/migration/V1.2__Drop telegram_chats.sql new file mode 100644 index 00000000..c8faee0d --- /dev/null +++ b/src/main/resources/db/migration/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 |