good day.
I am having problems granting all permissions to a user on a database that I am creating. Use PostgreSQL 9.6.
First I create my user in this way: CREATE USER springappuser WITH PASSWORD 'pspringappuser';
The database is created as follows: CREATE DATABASE springapp;
To make the permission assignment I use the following: GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA springapp TO springappuser;
I understand that the part of IN SCHEMA is wrong, but looking in the documentation I could not find how to do it on the basis of data.