Initial commit: PostgreSQL database server
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user