Extension folder Configuration/TCA 

The folder EXT:my_extension/Configuration/TCA/ can contain or override TCA (Table Configuration Array) data.

All files in this directory are automatically included during TYPO3 bootstrap.

New in version 12.0

Files in Configuration/TCA/ are loaded in a dedicated scope. This means that variables defined in the files cannot leak to other TCA files during the TCA compilation process.

Configuration/TCA/<tablename>.php 

Configuration/TCA/tablename.php

tablename.php
Scope
extension
Path (Composer)
packages/my_extension/Configuration/TCA/tablename.php
Path (Classic)
typo3conf/ext/my_extension/Configuration/TCA/tablename.php

One file per database table, using the name of the table for the file, plus ".php". Only for new tables, provided by the extension itself. Must not be used to change existing tables provided by other extensions.

Configuration/TCA/Overrides/somefile.php 

Configuration/TCA/Overrides/somefile.php

somefile.php
Scope
extension
Path (Composer)
packages/my_extension/Configuration/TCA/Overrides/somefile.php
Path (Classic)
typo3conf/ext/my_extension/Configuration/TCA/Overrides/somefile.php

For extending existing tables.

General advice: One file per database table, using the name of the table for the file, plus .php. For more information, see the chapter Extending the TCA array.