Skip to content

Commit be361ff

Browse files
committed
Go go travis
1 parent 34c720b commit be361ff

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/models/MysqlUser.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ public static function executeSchema()
4242
{
4343
$schema = Schema::connection('mysql');
4444

45+
if (!$schema->hasTable('users'))
46+
{
47+
Schema::connection('mysql')->create('users', function($table) {});
48+
}
49+
4550
if (!$schema->hasColumn('users', 'id'))
4651
{
4752
Schema::connection('mysql')->table('users', function($table)

0 commit comments

Comments
 (0)