Issue #2616724 by amateescu, daffie: Warn when trying to create a database table with a NOT NULL => FALSE primary key