not null for unique key test

This commit is contained in:
Shlomi Noach 2020-02-05 10:12:29 +02:00
parent b0f487ea61
commit a6d0d5ca26

View File

@ -1,8 +1,8 @@
drop table if exists gh_ost_test; drop table if exists gh_ost_test;
create table gh_ost_test ( create table gh_ost_test (
id bigint, id bigint not null,
i int not null, i int not null,
ts timestamp(6), ts timestamp(6) not null,
unique key id_uidx(id), unique key id_uidx(id),
unique key its_uidx(i, ts) unique key its_uidx(i, ts)
) ; ) ;