brunojk / laravel-rethinkdb Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hey!
Trying Laravel for the first time (and installed rethinkDB yesterday, it's amazing!)
php artisan make:rethink-migration users --create=users
use Illuminate\Database\Schema\Blueprint;
call is still in the file, and rethinkdb is not thereuse brunojk\LaravelRethinkdb\Schema\Blueprint;
Also, calling php artisan migrate
throw the following error:
$ php artisan migrate
[Symfony\Component\Debug\Exception\FatalThrowableError]
Call to a member function supportsSchemaTransactions() on null
The file:
<?php
use Illuminate\Support\Facades\Schema;
use brunojk\LaravelRethinkdb\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function (Blueprint $table) {
//$table->increments('hero_id');
$table->string('name');
//$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('users');
}
}
What should I do? :(
EDIT
Reran with -vvv, output below
() at /media/Web/RemoteVLUS/www/GameMaster/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php:357
Illuminate\Database\Migrations\Migrator->runMigration() at /media/Web/RemoteVLUS/www/GameMaster/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php:177
Illuminate\Database\Migrations\Migrator->runUp() at /media/Web/RemoteVLUS/www/GameMaster/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php:146
Illuminate\Database\Migrations\Migrator->runPending() at /media/Web/RemoteVLUS/www/GameMaster/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php:95
Illuminate\Database\Migrations\Migrator->run() at /media/Web/RemoteVLUS/www/GameMaster/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php:69
Illuminate\Database\Console\Migrations\MigrateCommand->fire() at n/a:n/a
call_user_func_array() at /media/Web/RemoteVLUS/www/GameMaster/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:29
Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() at /media/Web/RemoteVLUS/www/GameMaster/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:87
Illuminate\Container\BoundMethod::callBoundMethod() at /media/Web/RemoteVLUS/www/GameMaster/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:31
Illuminate\Container\BoundMethod::call() at /media/Web/RemoteVLUS/www/GameMaster/vendor/laravel/framework/src/Illuminate/Container/Container.php:539
Illuminate\Container\Container->call() at /media/Web/RemoteVLUS/www/GameMaster/vendor/laravel/framework/src/Illuminate/Console/Command.php:182
Illuminate\Console\Command->execute() at /media/Web/RemoteVLUS/www/GameMaster/vendor/symfony/console/Command/Command.php:264
Symfony\Component\Console\Command\Command->run() at /media/Web/RemoteVLUS/www/GameMaster/vendor/laravel/framework/src/Illuminate/Console/Command.php:167
Illuminate\Console\Command->run() at /media/Web/RemoteVLUS/www/GameMaster/vendor/symfony/console/Application.php:869
Symfony\Component\Console\Application->doRunCommand() at /media/Web/RemoteVLUS/www/GameMaster/vendor/symfony/console/Application.php:223
Symfony\Component\Console\Application->doRun() at /media/Web/RemoteVLUS/www/GameMaster/vendor/symfony/console/Application.php:130
Symfony\Component\Console\Application->run() at /media/Web/RemoteVLUS/www/GameMaster/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:122
Illuminate\Foundation\Console\Kernel->handle() at /media/Web/RemoteVLUS/www/GameMaster/artisan:35
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.