sql: convert SQL constraints to core constraints
This patch converts existing SQL foreign key constraints and check constraints into core foreign key constraints and check constraints. Closes #6986 @TarantoolBot document Title: SQL constraints SQL constraints will now use the tuple constraint mechanism instead of the original SQL mechanism. This allows to set constraints that are independent of the language used for creation. However, this disables some SQL constraint features that are not supported by tuple constraints.
Showing
- changelogs/unreleased/gh-6986-rework-sql-constraints.md 4 additions, 0 deletionschangelogs/unreleased/gh-6986-rework-sql-constraints.md
- src/box/bootstrap.snap 0 additions, 0 deletionssrc/box/bootstrap.snap
- src/box/lua/upgrade.lua 37 additions, 0 deletionssrc/box/lua/upgrade.lua
- test/sql-luatest/constraint_test.lua 35 additions, 0 deletionstest/sql-luatest/constraint_test.lua
- test/sql-luatest/upgrade/2.10.0/00000000000000000016.snap 0 additions, 0 deletionstest/sql-luatest/upgrade/2.10.0/00000000000000000016.snap
- test/sql-luatest/upgrade/2.10.0/fill.lua 4 additions, 0 deletionstest/sql-luatest/upgrade/2.10.0/fill.lua
- test/sql/upgrade.result 6 additions, 6 deletionstest/sql/upgrade.result
- test/sql/upgrade.test.lua 4 additions, 4 deletionstest/sql/upgrade.test.lua
Loading
Please register or sign in to comment