Initial commit: PostgreSQL database server

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
primal
2026-02-01 14:43:27 -05:00
commit 48615a3a48
5 changed files with 78 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
-- Create news_1440 database and user for app.1440.news
-- Password will be set via ALTER after creation
CREATE USER news_1440;
CREATE DATABASE news_1440 OWNER news_1440;
-- Grant privileges
GRANT ALL PRIVILEGES ON DATABASE news_1440 TO news_1440;
-- Connect to the database and set up schema permissions
\c news_1440
GRANT ALL ON SCHEMA public TO news_1440;