github.com/dolthub/go-mysql-server@v0.18.0/enginetest/scriptgen/setup/scripts/fk_tbl (about)

     1  exec
     2  CREATE TABLE `fk_tbl` (
     3    `pk` bigint NOT NULL,
     4    `a` bigint,
     5    `b` varchar(20),
     6    PRIMARY KEY (`pk`)
     7  )
     8  ----
     9  
    10  exec
    11  ALTER TABLE fk_tbl ADD CONSTRAINT fk1 FOREIGN KEY (a,b) REFERENCES mytable (i,s) ON DELETE CASCADE
    12  ----