Integrate Inputs/PainterPalette.csv for artist metadata and influence links, add db/schema.sql with server/migrate.js, letterbox influence panel thumbnails, and refresh Titian/Pontormo images. Co-authored-by: Cursor <cursoragent@cursor.com>
9 lines
472 B
SQL
9 lines
472 B
SQL
-- Run as PostgreSQL superuser before first use if the app user cannot CREATE tables:
|
|
-- psql -h HOST -U postgres -d Gallery -f db/setup-admin.sql
|
|
|
|
GRANT CREATE ON SCHEMA public TO gallery;
|
|
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO gallery;
|
|
GRANT ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA public TO gallery;
|
|
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT ALL ON TABLES TO gallery;
|
|
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT ALL ON SEQUENCES TO gallery;
|