mirror of
https://github.com/hanzoai/migrate.git
synced 2026-09-30 22:55:10 +00:00
* fix(spanner): upgrade spanner client to latest to support NUMERIC types * run go mod tidy * Add spanner example migration test case
7 lines
187 B
SQL
7 lines
187 B
SQL
CREATE TABLE Transactions (
|
|
UserId INT64,
|
|
TransactionId STRING(40),
|
|
Total NUMERIC
|
|
) PRIMARY KEY(UserId, TransactionId),
|
|
INTERLEAVE IN PARENT Users ON DELETE CASCADE
|