-
Notifications
You must be signed in to change notification settings - Fork 974
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
run 'php artisan lavalite:install' but missing some migration table #401
Comments
`Creating a "Lavalite/cms" project at "./lavalitecms"
WARN Migration table not found. INFO Preparing database. Creating migration table ................................................................................. 3ms DONE INFO Running migrations. 2014_10_12_100000_create_password_reset_tokens_table ..................................................... 5ms DONE INFO Seeding database. Litepie\Menu\Database\Seeders\MenuTableSeeder ............................................................. RUNNING I added Menu table migration from Vendor, but then Users table is missing... |
same issue here |
It seems there are database migrations missing in the 10.x branch, that are present in the 9.x branch. You can get past the error by copying the below-mentioned migration to database/migrations directory in your installation and re-run the install. However, there are other parts missing, so perhaps its best to wait until the maintainer(s) checks-in the missing files. Edit: I tried to patch the 9.0 files (see migrations.zip below) I can now get past the installation process, and login to the system |
@sjustesen After copy migration from 9.x I must edit
Missing part in migration:
|
@kulavvy Excellent, thanks for testing/fixing 👍 |
Hi
I have tried to install this project with instructions for documents.
The log is shown below. Please give me some advice. Thanks!
INFO Running migrations.
2014_10_12_100000_create_password_reset_tokens_table ................................................................................... 45ms DONE
2019_08_19_000000_create_failed_jobs_table ............................................................................................. 37ms DONE
2019_12_14_000001_create_personal_access_tokens_table .................................................................................. 46ms DONE
2022_10_24_100001_create_litecms_page_pages_table ...................................................................................... 28ms DONE
2023_06_19_100001_create_litecms_block_blocks_table .................................................................................... 19ms DONE
2023_06_19_100001_create_litecms_block_categories_table ................................................................................ 20ms DONE
2023_06_19_100001_create_litecms_contact_contacts_table ................................................................................ 22ms DONE
2023_06_21_053811_create_jobs_table .................................................................................................... 30ms DONE
INFO Seeding database.
Litepie\Menu\Database\Seeders\MenuTableSeeder ............................................................................................ RUNNING
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'lavalite.menus' doesn't exist (Connection: mysql, SQL: insert into
menus
(description
,icon
,id
,key
,name
,order
,parent_id
,role
,status
,target
,url
) values (?, ?, 1, admin, Admin, 1, 0, ?, Show, ?, /admin), (?, ?, 2, user, User, 1, 0, ?, Show, ?, /user), (?, ?, 3, client, Client, 1, 0, ?, Show, ?, /client), (Website main menu, ?, 4, main, Main, 2, 0, ?, Show, ?, ), (Footer menu, ?, 5, footer, Footer, 3, 0, ?, Show, ?, ), (Social media menu, ?, 6, social, Social, 3, 0, ?, Show, ?, ), (?, fab fa-twitter, ?, ?, Twitter, 11, 6, ?, Show, _blank, https://twitter.com/lavalitecms), (?, fab fa-github, ?, ?, GitHub, 12, 6, ?, Show, _blank, https://github.com/LavaLite/cms), (?, fab fa-facebook-square, ?, ?, Facebook, 13, 6, ?, Show, _blank, https://www.facebook.com/lavalite/))The text was updated successfully, but these errors were encountered: