You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The constraint name of FK is optional. This example is fully correct. When you doing schema export in Spanner web console with the "Show Equivalent DDL" button you can easily get something like this.
CREATE TABLE Orders (
OrderID INT64 NOT NULL,
CustomerID INT64 NOT NULL,
ProductID INT64 NOT NULL,
FOREIGN KEY (CustomerID) REFERENCES Customers (CustomerID)
) PRIMARY KEY (OrderID);
But the diagram will be not created for it
The text was updated successfully, but these errors were encountered:
s13o
added a commit
to s13o/spanner-er
that referenced
this issue
Dec 3, 2020
The constraint name of FK is optional. This example is fully correct. When you doing schema export in Spanner web console with the "Show Equivalent DDL" button you can easily get something like this.
But the diagram will be not created for it
The text was updated successfully, but these errors were encountered: