Adding more content for --help
This commit is contained in:
@@ -28,4 +28,10 @@ create view dailylift as select
|
||||
date(time) as time, account, exercise, sum(runs * reps * kilos) as lift
|
||||
from training group by 1, 2, 3;
|
||||
|
||||
|
||||
create role training_user;
|
||||
grant select on account to create_user;
|
||||
grant select on exercise to create_user;
|
||||
grant select on shorthand to create_user;
|
||||
grant insert on training to create_user;
|
||||
grant select on training to create_user;
|
||||
grant usage on training_id_seq to create_user;
|
||||
|
||||
Reference in New Issue
Block a user