snapshot of https://github.com/golang-migrate/migrate.git (master, 2026-09-15; blobs > 131072B omitted)
Some checks failed
CI / test (1.26.x) (push) Failing after 5s
CI / Check coverage (push) Has been skipped
CI / lint (push) Failing after 41s
CI / test (1.25.x) (push) Failing after 54s
CI / Release a new version (push) Has been skipped

This commit is contained in:
upstream-mirror
2026-09-15 21:52:57 +05:00
commit 9f3bffc2d3
405 changed files with 27657 additions and 0 deletions

View File

@@ -0,0 +1 @@
DROP TABLE Users

View File

@@ -0,0 +1,5 @@
CREATE TABLE Users (
UserId INT64,
Name STRING(40),
Email STRING(83)
) PRIMARY KEY(UserId)

View File

@@ -0,0 +1 @@
ALTER TABLE Users DROP COLUMN city

View File

@@ -0,0 +1 @@
ALTER TABLE Users ADD COLUMN city STRING(100)

View File

@@ -0,0 +1 @@
DROP INDEX UsersEmailIndex

View File

@@ -0,0 +1 @@
CREATE UNIQUE INDEX UsersEmailIndex ON Users (Email)

View File

@@ -0,0 +1 @@
DROP TABLE Books

View File

@@ -0,0 +1,6 @@
CREATE TABLE Books (
UserId INT64,
Name STRING(40),
Author STRING(40)
) PRIMARY KEY(UserId, Name),
INTERLEAVE IN PARENT Users ON DELETE CASCADE

View File

@@ -0,0 +1 @@
DROP TABLE Transactions

View File

@@ -0,0 +1,6 @@
CREATE TABLE Transactions (
UserId INT64,
TransactionId STRING(40),
Total NUMERIC
) PRIMARY KEY(UserId, TransactionId),
INTERLEAVE IN PARENT Users ON DELETE CASCADE