We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be361ff commit 2e2b200Copy full SHA for 2e2b200
tests/models/MysqlUser.php
@@ -44,7 +44,11 @@ public static function executeSchema()
44
45
if (!$schema->hasTable('users'))
46
{
47
- Schema::connection('mysql')->create('users', function($table) {});
+ Schema::connection('mysql')->create('users', function($table)
48
+ {
49
+ $table->increments('id');
50
+ $table->string('name');
51
+ });
52
}
53
54
if (!$schema->hasColumn('users', 'id'))
0 commit comments