Ensure cap column which is part of the PRIMARY KEY is not null for tables capability_context and capability_user as table creation gets rejected with MySQL v5.7.