snapshot of https://github.com/sqlc-dev/sqlc.git (main, 2026-09-16; blobs > 131072B omitted)
Some checks failed
kotlin / test (push) Has been skipped
python / test (push) Has been skipped
typescript / test (push) Has been skipped
go / build darwin/amd64 (push) Has been cancelled
go / build linux/amd64 (push) Has been cancelled
go / build windows/amd64 (push) Has been cancelled
go / build darwin/arm64 (push) Has been cancelled
go / build linux/arm64 (push) Has been cancelled
go / build windows/arm64 (push) Has been cancelled
go / test (push) Has been cancelled
go / vuln_check (push) Has been cancelled
Some checks failed
kotlin / test (push) Has been skipped
python / test (push) Has been skipped
typescript / test (push) Has been skipped
go / build darwin/amd64 (push) Has been cancelled
go / build linux/amd64 (push) Has been cancelled
go / build windows/amd64 (push) Has been cancelled
go / build darwin/arm64 (push) Has been cancelled
go / build linux/arm64 (push) Has been cancelled
go / build windows/arm64 (push) Has been cancelled
go / test (push) Has been cancelled
go / vuln_check (push) Has been cancelled
This commit is contained in:
38
internal/endtoend/testdata/vet_explain/mysql/schema.sql
vendored
Normal file
38
internal/endtoend/testdata/vet_explain/mysql/schema.sql
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
CREATE TABLE debug (
|
||||
id BIGINT PRIMARY KEY AUTO_INCREMENT,
|
||||
Csmallint smallint not null,
|
||||
Cint int not null,
|
||||
Cinteger integer not null,
|
||||
Cdecimal decimal(1,1) not null,
|
||||
Cnumeric numeric(2,1) not null,
|
||||
Cfloat float not null,
|
||||
Creal real not null,
|
||||
Cdoubleprecision double precision not null,
|
||||
Cdouble double not null,
|
||||
Cdec dec(3,2) not null,
|
||||
Cfixed fixed(5,5) not null,
|
||||
Ctinyint tinyint not null,
|
||||
Cbool bool not null,
|
||||
Cmediumint mediumint not null,
|
||||
Cbit bit not null,
|
||||
Cdate date not null,
|
||||
Cdatetime datetime not null,
|
||||
Ctimestamp timestamp not null,
|
||||
Ctime time not null,
|
||||
Cyear year not null,
|
||||
Cchar char(1) not null,
|
||||
Cvarchar varchar(1) not null,
|
||||
Cbinary binary(1) not null,
|
||||
Cvarbinary varbinary(1) not null,
|
||||
Ctinyblob tinyblob not null,
|
||||
Cblob blob not null,
|
||||
Cmediumblob mediumblob not null,
|
||||
Clongblob longblob not null,
|
||||
Ctinytext tinytext NOT NULL,
|
||||
Ctext text NOT NULL,
|
||||
Cmediumtext mediumtext NOT NULL,
|
||||
Clongtext longtext NOT NULL,
|
||||
Cenum ENUM('one', 'two', 'three'),
|
||||
Cset SET('one', 'two', 'three') NOT NULL,
|
||||
Cjson JSON NOT NULL
|
||||
);
|
||||
Reference in New Issue
Block a user