Closed HDYKTY closed 1 year ago
i published dynamodb.php to config folder, correctly changed the config/aws.php and Model/***.php and migration files to generate dynamodb (according to you previews issues).
But when i run "php artisan migrate",it shows
ErrorException Undefined array key "database" at vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:76 72▕ { 73▕ $pdo = $this->createPdoResolver($config); 74▕ 75▕ return $this->createConnection( ➜ 76▕ $config['driver'], $pdo, $config['database'], $config['prefix'], $config 77▕ ); 78▕ } 79▕ 80▕ /**
it seems laravel still use my old file "config/database.php" as the default db config file, not "config/dynamodb.php"??????
You can’t use migrations with DynamoDB. Have a read through #90
i published dynamodb.php to config folder, correctly changed the config/aws.php and Model/***.php and migration files to generate dynamodb (according to you previews issues).
But when i run "php artisan migrate",it shows
it seems laravel still use my old file "config/database.php" as the default db config file, not "config/dynamodb.php"??????