From c79c4d265c2f6b3ad3b4a3b027eef991514722d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Mon, 8 Aug 2016 13:46:26 +0200 Subject: [PATCH] Documentation --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4955a9395..73766e64f 100644 --- a/README.md +++ b/README.md @@ -2240,8 +2240,8 @@ Other **table constraints** can involve several columns: // UNIQUE (a, b) ON CONFLICT REPLACE, t.uniqueKey(["a", "b"], onConfict: .Replace) - // FOREIGN KEY (c, d) REFERENCES parents(a, b), - t.foreignKey(["c", "d"], references: "parent") + // FOREIGN KEY (a, b) REFERENCES parents(c, d), + t.foreignKey(["a", "b"], references: "parent") // CHECK (a + b < 10), t.check(SQLColumn("a") + SQLColumn("b") < 10)