Skip to content

Commit

Permalink
Add emulator test
Browse files Browse the repository at this point in the history
  • Loading branch information
tglennan committed Dec 18, 2024
1 parent e42be5f commit d7dc7d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/spanner/testdata/migrations/000005.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@

-- Insert one row at a time until a total of 5 singers are inserted
INSERT INTO Singers (SingerID, FirstName, LastName)
SELECT NextSingerID, CAST(NextSingerID AS STRING), CAST(NextSingerID AS STRING)
FROM (SELECT MAX(SingerID) + 1 AS NextSingerID FROM Singers HAVING COUNT(1) <= 5)
SELECT NextSingerID, "Singer" + CAST(TotalSingers AS STRING), ""
FROM (SELECT GENERATE_UUID() AS NextSingerID, COUNT(1) AS TotalSingers FROM Singers HAVING COUNT(1) <= 5)

0 comments on commit d7dc7d5

Please sign in to comment.