Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSv4: DB table name changed from EmbeddedObject to LinkableEmbed #123

Open
micschk opened this issue May 12, 2021 · 0 comments
Open

SSv4: DB table name changed from EmbeddedObject to LinkableEmbed #123

micschk opened this issue May 12, 2021 · 0 comments

Comments

@micschk
Copy link

micschk commented May 12, 2021

Not sure if there's a reason for changing the db table name for EmbeddedObject(?)
But currently when updating from Silverstripe 3 to 4, all EmbeddedObjects disappear due to the database table having changed between 3 & 4.

Quick fix is to revert the table name back to the previous value from config.yml:

Sheadawson\Linkable\Models\EmbeddedObject:
  table_name: 'EmbeddedObject'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant