mirror of
https://github.com/Shadik23/telegram_greeting_bot.git
synced 2025-12-11 13:59:38 +05:00
feat: Add GitHub Actions CI and professional README
This commit is contained in:
8
db/init.sql
Normal file
8
db/init.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
CREATE TABLE IF NOT EXISTS greetings (
|
||||
id SERIAL PRIMARY KEY,
|
||||
greeting_text TEXT NOT NULL DEFAULT 'Привет! Добро пожаловать!'
|
||||
);
|
||||
|
||||
INSERT INTO greetings (greeting_text)
|
||||
SELECT 'Привет! Добро пожаловать!'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM greetings WHERE id = 1);
|
||||
Reference in New Issue
Block a user