-
Notifications
You must be signed in to change notification settings - Fork 78
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
Problems importing existing file based content into database #84
Comments
Did you publish and make changes to the config file ( |
eloquent-driver.php return [
];` ERROR: |
Thats what I suspected - you have set the UUID entries model under the assets.model key... thats the wrong place, it should still be |
(as an aside, wrap your error traces in code backticks, as the hash marks on the line numbers makes GitHub reference issues) |
Thank you so much for the support. I had it like that previously and I got the following error:
So I looked at the other issue with that error title to try to find I solution so I endend up trying one of those suggestions. #14 |
Interesting, I'm not seeing that on my side. |
Environment Cache Drivers Statamic Statamic Addons `<?php return [
];` |
I restarted docker containers and importing existing data worked, but now the localhost homepage stopped showing and I got a new error. ERROR code:
|
I think your navigation structure didn’t import which is going to be fixed in the next release. You can re-save it in the control panel. |
Oh, I see! Thank you for the feedback and support! |
1.0.3 was released yesterday and should fix this issue going forward. |
Can this be closed then? |
Yep should be |
@mbpassos can you please close this? |
I have installed the eloquent driver and the migrations were successfully created and the tables also seem to be correct at the database.
However, when I try to import existing data, such as assets, by running the command: php please eloquent import-assets I get the following error:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'handle' in 'where clause' (SQL: select * from
entries
where (handle
= assets::./.meta/d126fbc4557e94c2844e1b16db7a434b.png.yaml) limit 1)Although the assets_meta table has the column "handle" in its structure, the entries table do not have that column:
Should I create it manually or did I maybe skip a step at the installation?
The text was updated successfully, but these errors were encountered: