Skip to content

Commit

Permalink
Use transaction in migrations using Sql Server (#22187)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucassch authored and taylorotwell committed Nov 25, 2017
1 parent 71dfb16 commit 748637c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Illuminate/Database/Schema/Grammars/SqlServerGrammar.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@

class SqlServerGrammar extends Grammar
{
/**
* If this Grammar supports schema changes wrapped in a transaction.
*
* @var bool
*/
protected $transactions = true;

/**
* The possible column modifiers.
*
Expand Down

0 comments on commit 748637c

Please sign in to comment.