I want to do this column can´t be null but when I insert in database one register values null this allows me inserted. I read documentation and I don´t know why doesn´t work
Probably in the base you already have that field with nulls In these cases you must change the nullity of the field manually MySql Query:
alter table [table] modify [column] [[Column_Type] ej: vachar] not null;