Skip to content

Commit 71a056a

Browse files
committed
Add spanner example migration test case
1 parent d1901a4 commit 71a056a

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DROP TABLE Transactions
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
CREATE TABLE Transactions (
2+
UserId INT64,
3+
TransactionId STRING(40),
4+
Total NUMERIC
5+
) PRIMARY KEY(UserId, TransactionId),
6+
INTERLEAVE IN PARENT Users ON DELETE CASCADE

0 commit comments

Comments
 (0)