Update sql/logs.sql

Mandatory fields => NOT NULL