Skip to content

Commit 02c8888

Browse files
committed
Minor fixes
1 parent a1214dd commit 02c8888

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ function create_space()
55
{ name = 'band_name', type = 'string' },
66
{ name = 'year', type = 'unsigned' }
77
})
8-
box.space.bands:create_index('primary', { parts = { 'id' } })
9-
box.space.bands:create_index('secondary', { parts = { 'band_name' } })
8+
box.space.bands:create_index('primary', { type = "tree", parts = { 'id' } })
9+
box.space.bands:create_index('secondary', { type = "tree", parts = { 'band_name' } })
1010
box.schema.user.grant('guest', 'read,write,execute', 'universe')
1111
end
1212

doc/how-to/getting_started_db.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,10 +217,6 @@ The full example in the terminal looks like this:
217217
---
218218
...
219219
220-
iproto:
221-
listen:
222-
- uri: '127.0.0.1:3301'
223-
224220
.. _connecting-remotely:
225221

226222
Connecting remotely

0 commit comments

Comments
 (0)