I have this simple table:
create table Customers
(
Id bigint not null primary key auto_increment,
Name varchar(100) not null,
IsVip boolean null
)
Now I want to set a default value for IsVip column. I tried:
alter table Customers
modify IsVip set default 0
But it doesn't work. How should I do it?