Changes committed

This commit is contained in:
2026-06-01 21:49:53 +05:30
parent 8537c653c1
commit 3163bb213e
387 changed files with 21940 additions and 107 deletions

View File

@@ -0,0 +1,12 @@
-- Create the admin schema for DocEngine
CREATE SCHEMA IF NOT EXISTS admin;
-- Set the default search path
ALTER DATABASE document_engine SET search_path TO admin, public;
-- Grant privileges
GRANT ALL ON SCHEMA admin TO postgres;
GRANT USAGE ON SCHEMA admin TO postgres;
ALTER DEFAULT PRIVILEGES IN SCHEMA admin GRANT ALL ON TABLES TO postgres;
ALTER DEFAULT PRIVILEGES IN SCHEMA admin GRANT ALL ON SEQUENCES TO postgres;
ALTER DEFAULT PRIVILEGES IN SCHEMA admin GRANT ALL ON FUNCTIONS TO postgres;