I hereby claim:
- I am jorgearma1982 on github.
- I am jorgearma1982 (https://keybase.io/jorgearma1982) on keybase.
- I have a public key whose fingerprint is 3EDA 302A 958C 83C3 D954 A1C7 CB6B E7B7 F142 B32C
To claim this, I am signing this object:
| <?php | |
| //file: /.env.local.php | |
| // return the configuration for the 'local' environment | |
| return array( | |
| 'db_host' => '127.0.0.1', | |
| 'db_name' => 'DB_NAME', // specify database name | |
| 'db_user' => 'DB_USER', // specify database username | |
| 'db_pass' => 'DB_PASS', // specify database password | |
| ); |
| -- Create a group | |
| CREATE ROLE readaccess; | |
| -- Grant access to existing tables | |
| GRANT USAGE ON SCHEMA public TO readaccess; | |
| GRANT SELECT ON ALL TABLES IN SCHEMA public TO readaccess; | |
| -- Grant access to future tables | |
| ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO readaccess; |
I hereby claim:
To claim this, I am signing this object: