Table "opengraph_fields" is dropped by Contao installer tool
ameotoko opened this issue · 3 comments
After update to Contao 4.13.4, contao:migrate
tool wants to drop opengraph_fields
table.
I think the reason is, that Contao 4.12+ handles all tables with Doctrine, and tables without tl_
prefix are not ignored anymore, they are dropped instead (although I don't understand why it worked for me in <4.13.4). The table needs to be declared either in dca/tl_*.php
files, or in a Doctrine SchemaListener.
Temporary workaround:
# config.yml
doctrine:
dbal:
connections:
default:
schema_filter: /^(?!opengraph_)/
The actual bug is that the table was created in a first place (which is not intended). This was due to a change in 4.13.
The new 4.13.4 reverted this change so the table will be dropped - which is correct :)
Oh, so you're saying that it is safe to drop the table, correct?
Absolutely, go for it! :)