How can I override entities of this bundle?
I want to:
add some fields to Topic entity
add fulltext indexes for Topic.title and Post.content
I tried to make my own Forum bundle. I have already overridden controllers and views, but entities just don't work as expected - indexes are not added after schema update (if I don't specify the table name in my extended entity "Post").
But if I specify the same table name "df_post" like this
then during schema update I get the following error "The table name 'df_post' already exists" although the DB doesn't contain this table.
I also tried to put the following lines in my config.yml:
Hi!
How can I override entities of this bundle? I want to:
Topic
entityTopic.title
andPost.content
I tried to make my own Forum bundle. I have already overridden controllers and views, but entities just don't work as expected - indexes are not added after schema update (if I don't specify the table name in my extended entity "Post").
But if I specify the same table name
"df_post"
like thisthen during schema update I get the following error
"The table name 'df_post' already exists"
although the DB doesn't contain this table.I also tried to put the following lines in my
config.yml
:but it didn't help.
Can anyone please help me?