From 50ce8cb96b2b218751c2fc2a6b19372f51846acc Mon Sep 17 00:00:00 2001
From: Dawid Rycerz <dawid@rycerz.xyz>
Date: Mon, 14 Jul 2025 19:34:59 +0300
Subject: feat: rewrite in rust

---
 installation/setup_db.sql | 19 -------------------
 1 file changed, 19 deletions(-)
 delete mode 100644 installation/setup_db.sql

(limited to 'installation/setup_db.sql')

diff --git a/installation/setup_db.sql b/installation/setup_db.sql
deleted file mode 100644
index 3014dc0..0000000
--- a/installation/setup_db.sql
+++ /dev/null
@@ -1,19 +0,0 @@
--- setup_db.sql
-
--- Create user (if it doesn't exist)
-DO
-$$
-BEGIN
-   IF NOT EXISTS (
-      SELECT FROM pg_catalog.pg_roles WHERE rolname = 'silmataivas'
-   ) THEN
-      CREATE ROLE silmataivas LOGIN PASSWORD 'silmataivas';
-   END IF;
-END
-$$;
-
--- Create database owned by the user
-CREATE DATABASE silmataivas OWNER silmataivas;
-
--- Optional: grant all privileges explicitly
-GRANT ALL PRIVILEGES ON DATABASE silmataivas TO silmataivas;
\ No newline at end of file
-- 
cgit v1.2.3

