diff --git a/.travis.yml b/.travis.yml index 1f345d2..b109177 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,5 +31,6 @@ install: before_script: - composer install - php artisan migrate + - php artisan migrate:refresh script: phpunit \ No newline at end of file diff --git a/database/migrations/2015_05_02_100000_store_create_tables.php b/database/migrations/2015_05_02_100000_store_create_tables.php index 95e13c7..bb59d97 100644 --- a/database/migrations/2015_05_02_100000_store_create_tables.php +++ b/database/migrations/2015_05_02_100000_store_create_tables.php @@ -194,11 +194,11 @@ public function down() Schema::connection('store')->drop('users_items'); Schema::connection('store')->drop('servers_items'); Schema::connection('store')->drop('servers_categories'); + Schema::connection('store')->drop('versions'); Schema::connection('store')->drop('servers'); Schema::connection('store')->drop('items'); Schema::connection('store')->drop('categories'); Schema::connection('store')->drop('users'); - Schema::connection('store')->drop('versions'); } }