Skip to content

Commit

Permalink
Fixed broken rollback for migration
Browse files Browse the repository at this point in the history
Added test for migration rollback to travis
  • Loading branch information
Arrow768 committed Jan 19, 2016
1 parent 13b6772 commit bb74c22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@ install:
before_script:
- composer install
- php artisan migrate
- php artisan migrate:refresh

script: phpunit
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}

}

0 comments on commit bb74c22

Please sign in to comment.