1 | <?php |
||
9 | class OracleBuilder extends Builder |
||
10 | { |
||
11 | /** |
||
12 | * @var \Yajra\Oci8\Schema\OracleAutoIncrementHelper |
||
13 | */ |
||
14 | public $helper; |
||
15 | |||
16 | /** |
||
17 | * @var \Yajra\Oci8\Schema\Comment |
||
18 | */ |
||
19 | public $comment; |
||
20 | |||
21 | /** |
||
22 | * @param Connection $connection |
||
23 | */ |
||
24 | public function __construct(Connection $connection) |
||
31 | |||
32 | /** |
||
33 | * Create a new table on the schema. |
||
34 | * |
||
35 | * @param string $table |
||
36 | * @param Closure $callback |
||
37 | * @return \Illuminate\Database\Schema\Blueprint |
||
38 | */ |
||
39 | public function create($table, Closure $callback) |
||
53 | |||
54 | /** |
||
55 | * Changes an existing table on the schema. |
||
56 | * |
||
57 | * @param string $table |
||
58 | * @param Closure $callback |
||
59 | * @return \Illuminate\Database\Schema\Blueprint |
||
60 | */ |
||
61 | public function table($table, Closure $callback) |
||
71 | |||
72 | /** |
||
73 | * Create a new command set with a Closure. |
||
74 | * |
||
75 | * @param string $table |
||
76 | * @param Closure $callback |
||
77 | * @return \Illuminate\Database\Schema\Blueprint |
||
78 | */ |
||
79 | protected function createBlueprint($table, Closure $callback = null) |
||
86 | |||
87 | /** |
||
88 | * Drop a table from the schema. |
||
89 | * |
||
90 | * @param string $table |
||
91 | * @return \Illuminate\Database\Schema\Blueprint |
||
92 | */ |
||
93 | public function drop($table) |
||
98 | |||
99 | /** |
||
100 | * Indicate that the table should be dropped if it exists. |
||
101 | * |
||
102 | * @return \Illuminate\Support\Fluent |
||
103 | */ |
||
104 | public function dropIfExists($table) |
||
109 | } |
||
110 |