Describe the bug
$ php artisan avored:install
Dropped all tables successfully.
Migration table created successfully.
Migrating: 2014_10_12_000000_create_users_table
Migrated: 2014_10_12_000000_create_users_table (0.06 seconds)
Migrating: 2014_10_12_100000_create_password_resets_table
Migrated: 2014_10_12_100000_create_password_resets_table (0.06 seconds)
Migrating: 2016_06_01_000001_create_oauth_auth_codes_table
Migrated: 2016_06_01_000001_create_oauth_auth_codes_table (0.09 seconds)
Migrating: 2016_06_01_000002_create_oauth_access_tokens_table
Migrated: 2016_06_01_000002_create_oauth_access_tokens_table (0.11 seconds)
Migrating: 2016_06_01_000003_create_oauth_refresh_tokens_table
Migrated: 2016_06_01_000003_create_oauth_refresh_tokens_table (0.1 seconds)
Migrating: 2016_06_01_000004_create_oauth_clients_table
Migrated: 2016_06_01_000004_create_oauth_clients_table (0.06 seconds)
Migrating: 2016_06_01_000005_create_oauth_personal_access_clients_table
Migrated: 2016_06_01_000005_create_oauth_personal_access_clients_table (0.03 seconds)
Migrating: 2017_03_29_000000_avored_framework_schema
Migrated: 2017_03_29_000000_avored_framework_schema (3.72 seconds)
Migrating: 2017_03_29_000000_avored_framework_schema_3_1_3
Migrated: 2017_03_29_000000_avored_framework_schema_3_1_3 (0.25 seconds)
Migrating: 2017_03_29_000000_avored_framework_schema_3_1_5
Migrated: 2017_03_29_000000_avored_framework_schema_3_1_5 (0.07 seconds)
Migrating: 2017_03_29_000001_avored_review_schema
Migrated: 2017_03_29_000001_avored_review_schema (0.07 seconds)
Migrating: 2017_03_29_000001_avored_wishlist_schema
Migrated: 2017_03_29_000001_avored_wishlist_schema (0.07 seconds)
Migrating: 2019_09_21_003425_alter_user_table
Migrated: 2019_09_21_003425_alter_user_table (0.05 seconds)
The "public/storage" directory already exists.
Would you like to install Dummy Data? (yes/no) [no]:
yes
Copied Directory [\modules\avored\demodata\assets\uploads] To [\storage\app\public\uploads]
Publishing complete.
Migrating: 2017_03_29_000000_avored_demo_data_schema
Illuminate\Database\QueryException : SQLSTATE[42S22]: Column not found: 1054 Unknown 'url' field in field list (SQL: insert into menus
(name
, url
, menu_group_id
, updated_at
, created_at
) values (AvoRed, /category/avored, 1, 2020-10-07 10:33:49, 2020-10-07 10:33:49)) at ~\code\vendor\laravel\framework\src\Illuminate\Database\Connection.php:669
665| // If an exception occurs when attempting to run a query, we'll format the error
666| // message to include the bindings with SQL, which will make this exception a
667| // lot more helpful to the developer instead of just the database's errors.
668| catch (Exception $e) {
669| throw new QueryException(
670| $query, $this->prepareBindings($bindings), $e
671| );
672| }
673|
Exception trace:
1 Doctrine\DBAL\Driver\PDO\Exception::("SQLSTATE[42S22]: Column not found: 1054
Unknown 'url' field in field list")
~\code\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver
PDO\Exception.php:18
2 Doctrine\DBAL\Driver\PDO\Exception::new(Object(PDOException)) ~\code\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php:82
Please use the argument -v to see more details.
To Reproduce
Steps to reproduce the behavior:
composer create-project --prefer-dist avored/laravel-ecommerce
- Set up your Envirionment(.env) file
php artisan avored:install
hacktoberfest