How do I automatically update database tables when changing custom entity fields New Drupal Developer here.

I am currently working on a inventory management module for a friend. And I ran into a bit of a snag with Custom Entities in Drupal 8.

I have a custom "Customer" entity content type which stores various bits of information about the customer, first name, last name, a number which we assign each customer, etc...

When I added a new field post-module-install, after running update.php, cron, etc... The new field was never added to the existing SQL table.

I am wondering if there is something I'm missing, like a way to force update the database without having to manually add the new table.

Here is the new field I added.

$fields['l_number'] = BaseFieldDefinition::create('string')
        -&gt;setLabel(t('L#'))
        -&gt;setDescription(t('The Customer\'s L Number.'))
        -&gt;setSettings(array(
            'default_value' =&gt; '',
            'max_length' =&gt; 8,
            'text_processing' =&gt; 0,
        ))
        -&gt;setDisplayOptions('view', array(
            'label' =&gt; 'above',
            'type' =&gt; 'string',
            'weight' =&gt; -7,
        ))
        -&gt;setDisplayOptions('form', array(
            'type' =&gt; 'string',
            'weight' =&gt; -7,
        ))
        -&gt;setDisplayConfigurable('form', TRUE)
        -&gt;setDisplayConfigurable('view', TRUE);
There are published examples using hook_update_n().