github.com/scraniel/migrate@v0.0.0-20230320185700-339088f36cee/database/spanner/examples/migrations/1621360367_create_transactions_table.up.sql (about) 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