Artisan, creating tables in database
问题 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