From 7e2568d13c22fb0a999e71ac1a1a926a2670af50 Mon Sep 17 00:00:00 2001 From: Arjay Angeles Date: Tue, 11 Oct 2016 09:14:40 +0800 Subject: [PATCH] Add support for wrapping of schema changes in transaction. --- src/Oci8/Schema/Grammars/OracleGrammar.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Oci8/Schema/Grammars/OracleGrammar.php b/src/Oci8/Schema/Grammars/OracleGrammar.php index 742b55c4..f404cedd 100644 --- a/src/Oci8/Schema/Grammars/OracleGrammar.php +++ b/src/Oci8/Schema/Grammars/OracleGrammar.php @@ -38,6 +38,13 @@ class OracleGrammar extends Grammar */ protected $schema_prefix = ''; + /** + * If this Grammar supports schema changes wrapped in a transaction. + * + * @var bool + */ + protected $transactions = true; + /** * Compile a create table command. *