gh-637: 'if_not_exists' option for box.schema.*.create()
Implement box.schema.user.create(name, { if_not_exists = true }) box.schema.role.create(name, { if_not_exists = true }) box.schema.func.create(name, { if_not_exists = true }) Add tests. Fixes gh-637.
Showing
- src/box/lua/schema.lua 18 additions, 7 deletionssrc/box/lua/schema.lua
- test/box/access.result 9 additions, 0 deletionstest/box/access.result
- test/box/access.test.lua 3 additions, 0 deletionstest/box/access.test.lua
- test/box/role.result 27 additions, 0 deletionstest/box/role.result
- test/box/role.test.lua 9 additions, 0 deletionstest/box/role.test.lua
Loading
Please register or sign in to comment