Skip to content

Commit 2e2b200

Browse files
committed
Go go travis
1 parent be361ff commit 2e2b200

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/models/MysqlUser.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,11 @@ public static function executeSchema()
4444

4545
if (!$schema->hasTable('users'))
4646
{
47-
Schema::connection('mysql')->create('users', function($table) {});
47+
Schema::connection('mysql')->create('users', function($table)
48+
{
49+
$table->increments('id');
50+
$table->string('name');
51+
});
4852
}
4953

5054
if (!$schema->hasColumn('users', 'id'))

0 commit comments

Comments
 (0)