Skip to content

Commit d83023f

Browse files
committed
Getting Started: update app
1 parent 1f83fa7 commit d83023f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

doc/code_snippets/snippets/config/instances.enabled/create_db/config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ groups:
66
instance001:
77
iproto:
88
listen:
9-
- uri: '127.0.0.1:3301'
9+
- uri: '127.0.0.1:3301'

doc/code_snippets/snippets/config/instances.enabled/create_db/myapp.lua

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ function create_space()
77
})
88
box.space.bands:create_index('primary', { type = "tree", parts = { 'id' } })
99
box.space.bands:create_index('secondary', { type = "tree", parts = { 'band_name' } })
10-
box.schema.user.grant('guest', 'read,write,execute', 'universe')
1110
end
1211

1312
function load_data()
@@ -26,4 +25,4 @@ end
2625
function select_data()
2726
box.space.bands:select { 3 }
2827
box.space.bands.index.secondary:select{'Scorpions'}
29-
end
28+
end

0 commit comments

Comments
 (0)