Clear the cache and try to alter the table name back with phpMyAdmin again. Once it is order
again then use the doctrine command:
php bin/console doctrine:schema:update --dump-sql
If you want Doctrine to execute the changes then add --force
as well.
Also check your Doctrine configuration, it could be that is caching the metadata somewhere else (e.g. Memcache). You might need to clear that as well.
Doctrine caches on three levels: query cache, metadata cache and result cache. You may want to take a look at the metadata one.
doctrine:
orm:
auto_mapping: true
# each caching driver type defines its own config options
metadata_cache_driver: apc
result_cache_driver:
type: memcache
host: localhost
port: 11211
instance_class: Memcache
# the 'service' type requires to define the 'id' option too
query_cache_driver:
type: service
id: my_doctrine_common_cache_service
So, if for example yours is set to Memcache then you'll have to reset Memcache as well.
Take a look at the docs here.