Open
Description
Error
at /vendor/danielmewes/php-rql/rdb/Handshake.php:76
72| $serverFirstMessage = $json["authentication"];
73| $authentication = array();
74| foreach (explode(",", $json["authentication"]) as $var) {
75| $pair = explode("=", $var);
> 76| $authentication[$pair[0]] = $pair[1];
77| }
78| $serverR = $authentication["r"];
79| if (strpos($serverR, $this->myR) !== 0) {
80| throw new RqlDriverError("Invalid nonce from server.");
Code
use Illuminate\Support\Facades\Schema;
use duxet\Rethinkdb\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateRActiveReportTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::connection('rethinkdb')->create('r_active_report', function (Blueprint $table) {
$table->increments('id');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('r_active_report');
}
}
More info
-
No table have been created
-
Database has bee created
Any idea what had happend ?
Metadata
Metadata
Assignees
Labels
No labels