3 lines
182 B
MySQL
3 lines
182 B
MySQL
|
CREATE USER :user WITH PASSWORD :'password';
|
||
|
GRANT SELECT,INSERT,UPDATE,DELETE ON ALL TABLES IN SCHEMA public TO :user;
|
||
|
GRANT SELECT,USAGE ON ALL SEQUENCES IN SCHEMA public TO :user;
|