From 7dcc54b63093d9e5ca0f56cd88430cdb0a88dc71 Mon Sep 17 00:00:00 2001 From: Daylon Wilkins Date: Mon, 8 Feb 2021 23:59:07 -0800 Subject: [PATCH] Check constraints on commit --- bats/foreign-keys.bats | 61 ++++++++++++-- go/cmd/dolt/commands/verify_constraints.go | 3 +- .../doltcore/doltdb/foreign_key_coll.go | 82 ++++++++++++++++++- go/libraries/doltcore/doltdb/root_val.go | 8 +- go/libraries/doltcore/env/actions/commit.go | 67 ++++++++++++++- go/libraries/doltcore/sqle/tables.go | 3 +- go/libraries/doltcore/table/io.go | 75 ----------------- 7 files changed, 206 insertions(+), 93 deletions(-) diff --git a/bats/foreign-keys.bats b/bats/foreign-keys.bats index 1fcfb47e94..a32729e3b8 100644 --- a/bats/foreign-keys.bats +++ b/bats/foreign-keys.bats @@ -164,7 +164,6 @@ SQL [ "$status" -eq "1" ] [[ "$output" =~ "not valid type" ]] || false - skip "TEXT passed, BLOB not yet supported" dolt sql <