Skip to content

Commit e248dee

Browse files
committed
Updated view snippet with each permission to grant
1 parent da0e7b6 commit e248dee

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

snippets/create_view.cson

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@
99
create or alter view ${1:v_VIEW_NAME}
1010
as
1111
12-
$2
12+
$2
1313
1414
go
1515
16-
grant select on ${1:v_VIEW_NAME} to public
16+
17+
grant select, insert, update, delete on ${1:v_VIEW_NAME} to public
18+
go
1719
'''

0 commit comments

Comments
 (0)