Commit ca03ba0a authored by FORESTIER Fabien's avatar FORESTIER Fabien
Browse files

Grant user usage on sequence

parent 1138ffcf
Pipeline #2355 passed with stages
in 12 seconds
......@@ -5,6 +5,7 @@ export class GrantAccessTuUser1574849918251 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<any> {
await queryRunner.query(`GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO "user";`, undefined);
await queryRunner.query(`GRANT USAGE, SELECT ON ALL SEQUENCES IN SCHEMA public TO "user";`, undefined);
}
public async down(queryRunner: QueryRunner): Promise<any> {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment