I am trying to create mysql tables in Laravel 5. I created a file in /project/database/migrations
called users.php
:
[...]
public function up()
{
Schema::create('users', function(Blueprint $table)
{
$table->increments('id');
$table->string('username');
$table->string('fullname');
$table->int('number');
$table->string('email')->unique();
$table->string('password', 60);
$table->rememberToken();
$table->timestamps();
});
}
[...]
I then tried running these commands in the project
-folder:
$ php artisan migrate
$ php artisan migrate:install
$ php artisan migrate --pretend
None of them return any output and no tables are created. The database to be populated exists.